DEV Community

Discussion on: 15 Docker Commands Beginners Should Know

Collapse
 
quinncuatro profile image
Henry Quinn • Edited

Brilliant. Definitely linking to this in a future article on containers, if that's cool.

Edit: Only thing I'd add would be exec. Folks who are getting into Docker likely have some experience on the command line, and being able to drop into a container's shell is hella helpful.

Collapse
 
0xkoji profile image
0xkoji • Edited

Thanks, Henry(@quinncuatro )!
I will add exec.

Collapse
 
jsugarman profile image
Joel Sugarman

yeah i typically usedocker exec -it container_id/container_name bash/sh to get into existing, already running, containers