Welcome to the Containers 101 workshop!
Before you start running any of the exercises, make sure you have downloaded Docker CE from the Docker store.
Note: you will be prompted to create an account on the Docker store if you don't already have one.
Once you have installed Docker, you will need to ensure that you switch to Linux Containers.
Docker CE is only compatible with Microsoft Windows 10 Professional or Enterprise 64-bit. For people running other versions of Windows, you will need to install Docker Toolbox
-
If you don't have one already, sign up for a free IBM Cloud Account here.
-
Verify your account via the email the platform sends you.
-
Log in to your IBM Cloud Account.
For the last part of the workshop, we will be using IBM Container Registry. To run this part of the workshop, you will need to install the IBM Cloud coomand line tool (CLI) and then configure it to use Container Registry:
-
Go to this docs link and follow the short instructions to download and install the CLI.
-
Install the Container Registry plug-in.
On Mac or Linux run:
curl -sL http://ibm.biz/idt-installer | bash
Or on Windows run:
Set-ExecutionPolicy Unrestricted; iex(New-Object Net.WebClient).DownloadString('http://ibm.biz/idt-win-installer')
Now you're ready to go!
After completing the workshops, you will have experience with creating a Docker image from a Docker file, managing Docker containers (running, stopping, removing, viewing), working inside Docker containers, pushing and pulling Docker images to and from registries and working with persistent data.
To begin, let's start of with the first exercise where you will create your first Docker image! You will also learn how to pull other existing Docker images from DockerHub and inspect the history of image.