News for hackers. Stuff that matters.
Re:Basic Docker Commands for Beginners by Traster on Friday April 24, 2020 @12:10PM (#22969613)
Absolutely, one of the things I find very frustrating about Docker is that for the situations I need it it's never sufficient in itself, you still need to be mapping ports and volumes and setting variables- and that's all done in terminal commands which I have to remember or store somewhere and if I get something wrong it all falls apart. With docker-compose I've actually got a single file that I an use to make sure the container actually is reproducible. I'm willing to accept that maybe I just have weird requirements though.
Re:Basic Docker Commands for Beginners by cmehdy on Friday April 24, 2020 @01:54PM (#22971020)
I'm definitely not arguing about the advantages that docker-compose can bring (for me: readability & multiple containers easily connected), but aren't port mapping (-p) and env. variables (-e) and volumes (-v) simple with a docker command?

See https://docs.docker.com/engine/reference/commandline/run/

Re:Basic Docker Commands for Beginners by Traster on Friday April 24, 2020 @03:54PM (#22972248)
They're simple, but what I want is a file I can point to and say "This is how we do things", to me that's a large part of what docker-compose brings.