This repository was archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Running Iroki With Docker
Ryan Moore edited this page May 18, 2016
·
8 revisions
If you don't have Docker, follow the instructions to install it here: Mac, Linux, Windows.
Note: If you have Windows, running Iroki with Docker may be your only option. Iroki has not been tested on Windows.
Check to make sure everything is working by typing
$ docker info
After installing Docker, open the Launchpad and click the Docker Quickstart Terminal icon.
If you get the following error
docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Try the following (replace mooreryan with your user name):
sudo usermod -aG docker mooreryan
If you get this error
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Run the following command
$ eval "$(docker-machine env default)"
You might want to put this line in your profile or its equivalent.
Get the iroki_docker script
Download this perl script, and change the permissions to executable.
$ \curl "https://raw.githubusercontent.com/mooreryan/iroki/master/bin/iroki_docker" > ~/Downloads/iroki_docker
$ chmod 755 ~/Downloads/iroki_docker
Move iroki_docker to somewhere on your path.
$ sudo mv ~/Downloads/iroki_docker /usr/local/bin
Try it out!
$ which iroki_docker
should spit out
/usr/local/bin/iroki_docker
and
$ iroki_docker -h
will display the help banner.