Learning Docker Creation


Ryan2207

Recommended Posts

Personally as i create docker containers as part of my work. Via autoamted builds.

 

1. You will need to first understand the docker toolchain and structure

2. Understand "dockerfile" and how it is used to build a docker image (https://docs.docker.com/engine/reference/builder/)

3. Lots of linux command line, for whatever specifically you want to do. With number 2.

 

The dockerfile reference is what i am constantly referring for all its command.

 

It will also greatly help if you have the docker toolchain installed on your local machine, so you can rapidly iterate on modify / testing the dockerfile build process.

 

Note however, rapid is subjective here, due to how "long" it takes for some of this dockerfile images to build. Rapidly, is similar to programming 10 years + ago. Where you sometimes sit for 2 minutes and wait for your "dockerfile code to compile".

 

Still its generally much faster then uploading the docker file to docker hub and triggering the automatic build.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.