mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 11:00:16 +01:00
Simple instruction on how to run Tracks using docker and an available image on the Docker Index
parent
aa2bb2926e
commit
659b7712b5
1 changed files with 29 additions and 0 deletions
29
Installing-tracks-2.2-from-Docker-Index.md
Normal file
29
Installing-tracks-2.2-from-Docker-Index.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Getting Tracks 2.2.2 running using docker
|
||||
|
||||
## Introduction
|
||||
Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. This enables you to get. Docker can be installed easily on any major Linux flavor and run in a virtual machine on other OS.
|
||||
|
||||
## Prerequisites
|
||||
You will need a host with a running docker installation. This guide will not cover installation of docker since that i well documented other places: http://www.docker.io/gettingstarted/#h_installation
|
||||
|
||||
## Installation
|
||||
Log on to your host with a running Docker installation and pull the Tracks image for the Docker Index by running the following command:
|
||||
`root@dockerhost# docker pull staannoe/getontracks`
|
||||
|
||||
Observe that docker starts to download the Docker tracks image. The might take some time depending on your Internet bandwidth.
|
||||
|
||||
When the image has finished downloading, you can verify that it is available by issuing the command:
|
||||
|
||||
`root@docker# docker images`
|
||||
|
||||
Now you can start Tracks on port 8080 on your host simply by issuing the following command:
|
||||
|
||||
`docker run -d -p 8080:3000 <IMAGE ID>`
|
||||
|
||||
or a more extensive version:
|
||||
|
||||
`root@docker# docker run -d -p 8080:3000 -w /var/tracks <IMAGE ID> bundle exec rails server -e production`
|
||||
|
||||
## Other useful info
|
||||
You can learn more about the image on the Docker Index:
|
||||
http://index.docker.io/u/staannoe/getontracks/
|
||||
Loading…
Add table
Add a link
Reference in a new issue