louislam / dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager
https://dockge.kuma.pet
MIT License
13.13k stars 375 forks source link

Doesn't Support Podman On macOS When Replacing A Container #657

Open charlestephen opened 2 weeks ago

charlestephen commented 2 weeks ago

⚠️ Please verify that this bug has NOT been reported before.

πŸ›‘οΈ Security Policy

Description

This doesn't properly support Podman on macOS as there is no Podman-docker package. When attempting to convert a podman run command, it initially fails because it doesn't recognize the syntax. After replacing podman with docker, it subsequently fails because an already running container in podman must have the --replace flag to be replaced by a compose file. See screenshot.

Screenshot 2024-11-06 at 2 40 42β€―AM

πŸ‘Ÿ Reproduction steps

Start a container in podman not in a stack. Attempt convert your podman run command to compose format.

πŸ‘€ Expected behavior

Container should launch.

πŸ˜“ Actual Behavior

It fails with a message that the container name is already in use.

Dockge Version

Version: 1.4.2

πŸ’» Operating System and Arch

macOS ARM64

🌐 Browser

Chrome

πŸ‹ Docker Version

Podman 5.2.4

🟩 NodeJS Version

No response

πŸ“ Relevant log output

No response