Skip to content
Discussion options

You must be logged in to vote

yes you can use the attach API which is what podman --remote container start --attach is using.

In API testing I see:

20-containers.at:t POST "containers/foo/attach?logs=true&stream=false" 200
20-containers.at:t POST "/v1.42/containers/foo/attach?logs=true&stream=false" 200
20-containers.at:t POST "/v4.6.0/libpod/containers/foo/attach?logs=true&stream=false" 200
20-containers.at:t POST "/v4.7.0/libpod/containers/foo/attach?logs=true&stream=false" 200

I guess you might want to set stream=true.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by peter-facko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants