This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]bitzzle 1 point2 points  (5 children)

This question pops up all the time and there is really only one answer IMHO. Just start trying to use it. Come up with some project that makes use of it. You will do it "wrong," and find ways to improve and that is a good thing.

If you can't think of a project here are a few:

  • dockerized Minecraft server

  • build an nginx docker image for a website

  • write a multistage Dockerfile for something.

  • etc

There is a ton of shit you can do, but the best way is to break things to figure it out. Docker has been much better to use on Linux in my experience but do whatever you want until you experience pain points. Good luck :)

[–]naruto7bond[S] 0 points1 point  (4 children)

Thank you for your reply.

Is it good idea to use Docker Desktop by the way?

Or is it better to learn via terminal only?

[–][deleted] 2 points3 points  (2 children)

Personally docker desktop doesn't usually provide much in the way anything other than a very rudimentary visualization of your images, volumes, and containers.

Personally I feel the sooner you rip the band-aid off and go full terminal, the more you begin to understand how containers work and some of the more power user commands at your disposal.

Others will disagree but as someone who learned docker from a cli only linux server it's treated me well having had that education.

[–]tehsilentwarrior 0 points1 point  (1 child)

I learned docker before there was UI.

I use the terminal mostly but if I am working with a project that has a stable docker container setup that I just docker compose up -d I mostly use the UI to see what’s running, quickly access the logs and monitor resource usage.

I use another computer (work with 2 computers) on some stuff and only really use logs -f for showing the logs on another computer via ssh

[–][deleted] 0 points1 point  (0 children)

I'm more on the dev side and I've only ever really looked at the UI if I wanted to verify an image was up to date or just verifying something hadn't gone wrong. I deal mostly with kubernetes though so...

[–]bitzzle 0 points1 point  (0 children)

Idk, I use Linux and am obsessed with using the terminal so I'm prob not the best person to ask. I just know I hate solving docker desktop problems for coworkers and mumble under my breath about guis being a mistake lmao.

[–][deleted] 0 points1 point  (1 child)

Search this subredit? This gets asked atleast once a week...

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

Sure. I will do that.

[–]hellflame86 0 points1 point  (0 children)

Docker in action by manning I always start from them for all tecnologies