Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

srnd/docker-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT NOTE: We are no longer hosting the communal Docker daemon. You should get docker from here.

Docker Workshop Notes

Installing Docker

Windows

Open PowerShell and paste this:

Invoke-WebRequest -Uri "https://horner.tj/dockerwin" -OutFile "docker.exe"; $env:DOCKER_HOST = "tcp://40.84.236.92:1234"

Linux

Open a terminal and paste this:

wget https://horner.tj/docker && chmod +x docker && export DOCKER_HOST=tcp://40.84.236.92:1234

macOS

Open a terminal and paste this:

curl https://horner.tj/dockermac -o docker && chmod +x docker && export DOCKER_HOST=tcp://40.84.236.92:1234

Invoking Docker

./docker [your-command]

If you get an error that looks like this:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Then run the following command:

  • Windows: $env:DOCKER_HOST = "tcp://40.84.236.92:1234"
  • Linux/macOS: export DOCKER_HOST=tcp://40.84.236.92:1234

This will tell Docker to connect to our hosted Docker daemon.

Testing Docker

To see if Docker works, run the command ./docker info. If you don't get any errors, then you're good to go for the rest of this demo!

About

Stuff for the Docker workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published