Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get command without docker-compose labels? #910

Open
cronyakatsuki opened this issue Apr 10, 2024 · 4 comments
Open

Get command without docker-compose labels? #910

cronyakatsuki opened this issue Apr 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@cronyakatsuki
Copy link

Hello, is there any way to get pure podman run command, without the docker-compose specific commands?

I would like to move away from using docker-compose and thought podman-compose would be able to extract the pure commands without docker-compose specific labels that podman-compose adds.

Is there any way?

@cronyakatsuki cronyakatsuki added the enhancement New feature or request label Apr 10, 2024
@p12tic
Copy link
Collaborator

p12tic commented May 1, 2024

@cronyakatsuki Could you explain a bit more why would you need such feature for? It doesn't seem that the additional docker compose labels could be harmful to anything, they just use few bytes of space and that's all.

@cronyakatsuki
Copy link
Author

@cronyakatsuki Could you explain a bit more why would you need such feature for? It doesn't seem that the additional docker compose labels could be harmful to anything, they just use few bytes of space and that's all.

I mostly just wan't to move completely away from docker, meaning also docker-compose.

I also accidentally didn't realize that using podman generate on a podman-compose pods won't create right systemd files and that also left me scratching my head after a restart of one of my systems.

It's mostly about just being able to get pure command, also to learn how podman itself works cause I think having it be able to show direct commands would allow people to learn how to setup complex pods with pure podman commands would be a great learning point.

@p12tic
Copy link
Collaborator

p12tic commented May 4, 2024

Adding --verbose to podman-compose command line will print all commands that podman-compose is invoking. Please let me know if that's enough.

@cronyakatsuki
Copy link
Author

Adding --verbose to podman-compose command line will print all commands that podman-compose is invoking. Please let me know if that's enough.

Yes it's enough, tnx for listening to my request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants