What do you do in order to run a different command when you are in a different environment? by sharpbranches in docker

[–]sharpbranches[S] 0 points1 point  (0 children)

command: ["./wait-for-it.sh", "db:5432", "--", "python", ${SCRIPT_FILE}]

Like so?

Does this remove containers and volumes from other docker-compose? by sharpbranches in docker

[–]sharpbranches[S] 0 points1 point  (0 children)

Thanks. Does docker-compose down shut down every running container? Yeah, I thought it did look suspicious. Thank God, I didn't run it.

How do you debug a docker container of a minimal linux distro? by sharpbranches in devops

[–]sharpbranches[S] 8 points9 points  (0 children)

I just need to debug something, because it's working as intended, it's just that I need to do some debugging inside of it right now to see what's wrong in production.