Setting Up boot2docker

/ Published in: Bash
Save to your folder(s)

Sets up boot2docker without tls

Copy this code and paste it in your HTML
  1. #!/bin/bash
  2. boot2docker init
  3. boot2docker start
  4. boot2docker ssh sudo sh -c "\"echo DOCKER_TLS=no > /var/lib/boot2docker/profile\""
  5. boot2docker restart
  6. # Source docker environment variables into current shell.
  7. $(boot2docker shellinit)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.