Skip to content

IBMDeveloperUK/Containers-101

Repository files navigation

Containers 101

Welcome to the Containers 101 workshop!

Install Docker

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.

Considerations for Windows 7/8 users

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

Registering for a free IBM Cloud Account

  1. If you don't have one already, sign up for a free IBM Cloud Account here.

  2. Verify your account via the email the platform sends you.

  3. Log in to your IBM Cloud Account.

Install the IBM Cloud CLI

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:

  1. Go to this docs link and follow the short instructions to download and install the CLI.

  2. 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')

Hands-on workshop

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published