Skip to content

Instantly share code, notes, and snippets.

@kesor
Last active January 22, 2019 17:40
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kesor/566aa77ad138292fa8ab to your computer and use it in GitHub Desktop.
Save kesor/566aa77ad138292fa8ab to your computer and use it in GitHub Desktop.
docker workshop prerequisites

Docker Workshop

  • This workshop is intended for people who are familiar with Linux and running services like a web server, database, etc.

To make it and easier for everyone, and save us some time please prepare a couple of simple things beforehand. Coming unprepared can cause delays and you might miss the whole workshop because the internet is not fast enough for everyone to download the requirements.

  1. Bring your Laptop - this is a workshop!
    It does not matter which operating system you have installed.

  2. Install VirtualBox - we will use a VM. Please use latest version available.
    Download VirtualBox and the VM Extension Pack, and install both.

  3. Install Vagrant. Download Vagrant and install it. Please use latest version available.

  4. Setup CoreOS in Vagrant

    #!/bin/sh
    git clone https://github.com/coreos/coreos-vagrant
    cd coreos-vagrant
    cat <<-EOF > user-data
    coreos:
      units:
        - name: docker-tcp.socket
          command: start
          enable: true
            [Unit]
            Description=Docker Socket for the API
            [Socket]
            ListenStream=2375
            Service=docker.service
            BindIPv6Only=both
            [Install]
            WantedBy=sockets.target
    EOF
    vagrant up
    vagrant ssh -c "docker pull registry"

verify that everything works

Once the above step is complete, you can verify that the image registry has been downloaded by running:

vagrant ssh -c "docker images"

Output should look something like this -

REPOSITORY  TAG     IMAGE ID      CREATED     VIRTUAL SIZE
registry    latest  c55308716b36  5 days ago  418.6 MB
@gaaady
Copy link

gaaady commented Jun 9, 2014

How can I verify that everything is setup properly?

@lielran
Copy link

lielran commented Jun 10, 2014

the version is : Docker version 1.0.0, build 63fe64c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment