DEV Community

Cover image for A crash course to the most important Docker concepts and their commands

A crash course to the most important Docker concepts and their commands

Chris Noring on April 28, 2019

Follow me on Twitter, happy to take your suggestions on topics or improvements /Chris I've written this for you that just parachuted into a proje...
Collapse
 
toddlakes profile image
ToddLakes • Edited

Many thanks for the humor in the article!) Crash courses are an excellent way to improve your programming skills. Thanks to this, a specialist can easily find a way out of any situation or a solution to any problem. Many "writers of code" cannot solve even banal problems because of which the code cannot be compiled. Every programmer should be able to keep calm if something goes wrong. This is a normal situation if the volume of work is large. Stressful situations are an integral part of work. I believe that the best option is to attend professional courses. You recommended great online services for this! Thank! I would also pay attention to essay writing service paperial.com. Writing is always a difficult task for a programmer. But sometimes it is necessary for the presentation of a new product. I think that many will find useful and relevant information in your article.

Collapse
 
alexanderrykhlitskiy profile image
Alexander Rykhlitskiy • Edited

Thanks for the post. Just one small note.
Isn't it better to avoid using

COPY . .
Enter fullscreen mode Exit fullscreen mode

as container will be rebuilt completely after any minor code change? Maybe it's better to use

COPY package.json package-lock.json ./
Enter fullscreen mode Exit fullscreen mode

?

Collapse
 
softchris profile image
Chris Noring

hey Alexander.. you are right.. That's definitely an omptimization you could do. Just wanted to show something working initially..

Collapse
 
jrc86 profile image
Jonas • Edited

Microsoft just released VS Container Tools extension.
Not sure if its for vs only, but it should work for vscode as well.
This is just for Containers, so you still need to manage images.

It's currently in preview, so use caution and report any issues.
devblogs.microsoft.com/visualstudi...

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

Awesome article really good primer on docker.

Collapse
 
softchris profile image
Chris Noring

Thank you. Appreciate your comment Max :)

Collapse
 
healeycodes profile image
Andrew Healey

This is a fun article ☺️

Collapse
 
maciekgrzybek profile image
Maciek Grzybek

Nice one mate:)

Collapse
 
softchris profile image
Chris Noring

Thanks for that. Glad you like it :)

Collapse
 
lkreimann profile image
Lea Reimann 🦄

This was very helpful, thank you :)

Collapse
 
softchris profile image
Chris Noring

hi Lea. Glad to hear it :)

Collapse
 
jrc86 profile image
Jonas

I've been wrestling with docker almost all day. This might help when I continue tomorrow.

Collapse
 
softchris profile image
Chris Noring

hey.. There is a link to a 5 part series in there as well so be sure to check it out. Let men know if there is anything I can do:)

Collapse
 
jrc86 profile image
Jonas

FInally I've time to get into this now. Somehow forgot to save in my reading list, but found it again!

Collapse
 
nilemarbarcelos profile image
Nilemar Barcelos

Awesome article, had this same experience a while ago, thanks for sharing it :)

Collapse
 
softchris profile image
Chris Noring

I thought I was relatively alone in this experience. So thank you for writing that and I appreciate your comment Nilemar :)

Collapse
 
sunnysingh profile image
Sunny Singh

I really enjoyed the story selling format of this article! Fun to read, appreciate the primer on Docker.

Collapse
 
ankitcn47 profile image
ankit-cn-47

Please compile it into a PDF document so it stays handy to refer. Thanks a lot.

Collapse
 
mordonez profile image
Marco Ordonez

Thanks, really helpful!

Collapse
 
auspex profile image
Derek Broughton

As usual, though, you don't need to know all those docker commands, because we have Portainer!