The old pathways test application
203
For Docker installations on Ubuntu sudo is required to run Docker commands unless you add your user to the docker group as outlined [[http://askubuntu.com/a/477554][here]]. *** The Happy Path If you do not wish to build the Docker container yourself you can run it directly from the Docker registry. First, install the necessary Docker components for your operating system as outlined above.
Then you can run the latest release from [[https://hub.docker.com/r/tomtoothfairies/pathways/][Docker Hub]] #+BEGIN_SRC bash $ docker pull tomtoothfairies/pathways:latest $ docker run tomtoothfairies/pathways #+END_SRC
To run a release other than the current you may manually specify the Docker image release tag. For example: #+BEGIN_SRC bash $ docker run tomtoothfairies/pathways:0.0 #+END_SRC
*** Building Manually There are DNS problems when running containers in Ubuntu within the TCD network. This can be resolved while on the TCD network by editing the Docker DNS config. #+BEGIN_SRC bash $ echo "{"dns": ["134.226.251.200", "134.226.251.100"]}" | sudo tee -a /etc/docker/daemon.json $ sudo service docker restart #+END_SRC You should revert these settings when leaving the TCD network by running #+BEGIN_SRC bash $ sudo rm /etc/docker/daemon.json $ sudo service docker restart #+END_SRC
** Development
Docker can be used for development as follows:
#+BEGIN_SRC bash
$ cd pathways
$ docker run -v $PWD:/code -it --rm tomtoothfairies/pathways bash
#+END_SRC
This will run bash in a container with the current working directory available
at /code in the container
Content type
Image
Digest
Size
264.4 MB
Last updated
over 9 years ago
docker pull tomtoothfairies/pathways:0.1