-
Notifications
You must be signed in to change notification settings - Fork 11
SetUp
TIP: If you can't follow the workstation instructions you can run Docker on the Google Cloud Platform (GCP), see below.
Install Docker Community Edition on your workstation by following the following guides for your operating system:
-
Linux: Install Docker CE for your Linux distribution from https://store.docker.com/search?offering=community&operating_system=linux&q=&type=edition (NOTE: don't use default pkg)
-
macOS: Install Docker for Mac from https://store.docker.com/editions/community/docker-ce-desktop-mac or use
brew cask install docker && brew install docker-completion.Special note for Homebrew users: after brew has finished open the application
/Applications/Docker.appto start the Docker deamon (creating a Docker account is optional). -
Windows 10 Pro/Enterprise: Install Docker for Windows from https://store.docker.com/editions/community/docker-ce-desktop-windows
-
Windows 7/8/10 Home: Install Docker Toolbox from https://docs.docker.com/toolbox/toolbox_install_windows
Note for Windows users: Set to "Linux Containers" in system tray icon
Helpful videos here https://www.bretfisher.com/installdocker/
If you have problems before the workshop ping me on twitter as @alecthegeek, at least one day before the workshop please.
These setup instruction adapted from https://velocityconf18.bretfisher.com/intro-fullday.yml.html#2. More details from https://velocityconf18.bretfisher.com/intro-fullday.yml.html#18.
Thanks to @bretfisher and @jpetazzo for writing these setup instructions and saving me a lot of time.
Docker and Git are supplied be default in the GCP Cloud Shell, no need to run a dedicated cloud virtual machine for this workshop. You will need to login to the GCP Console at https://console.cloud.google.com and then follow the instructions at https://cloud.google.com/shell/docs/starting-cloud-shell
From the command prompt run the following commands
docker version
Note: This command need to an active network connection to connect to the Docker registry
docker run hello-world
If you get errors ask your partner or the workshop facilitators for help
git clone https://github.com/dockerfornovices/DockerSimpleDemo