Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
getting-started:ubuntu-docker-install [2017/07/24 20:10]
Elco Jacobs [Deploy the brewpi container]
getting-started:ubuntu-docker-install [2017/07/25 08:45]
Elco Jacobs
Line 12: Line 12:
 docker pull brewpi/​brewpi-ubuntu docker pull brewpi/​brewpi-ubuntu
 </​code>​ </​code>​
-Deploy a new brewpi container. Modify the command below to to your liking, especially the port and the data location on the host (default is `~/​brewpi-data`). +Deploy a new brewpi container. Modify the command below to to your liking, especially the port and the data location on the host (default is ''​~/​brewpi-data''​). 
-We also mount `/​etc/​localtimeand `/​etc/​timezoneto the container, so it takes the time from the host.+We also mount ''​/​etc/​localtime'' ​and ''​/​etc/​timezone'' ​to the container, so it takes the time from the host.
 <​code>​ <​code>​
 docker run -d --name brewpi -p 80:80 -v ~/​brewpi-data:/​data -v /​etc/​timezone:/​etc/​timezone -v /​etc/​localtime:/​etc/​localtime --restart always brewpi/​brewpi-ubuntu docker run -d --name brewpi -p 80:80 -v ~/​brewpi-data:/​data -v /​etc/​timezone:/​etc/​timezone -v /​etc/​localtime:/​etc/​localtime --restart always brewpi/​brewpi-ubuntu
Line 27: Line 27:
 |-v /​etc/​timezone:/​etc/​timezone <br> -v /​etc/​localtime:/​etc/​localtime | Use timezone from the host.                                                   | |-v /​etc/​timezone:/​etc/​timezone <br> -v /​etc/​localtime:/​etc/​localtime | Use timezone from the host.                                                   |
 | --restart always ​       | Start on boot and always restart the container when it stops. ​                                                            | | --restart always ​       | Start on boot and always restart the container when it stops. ​                                                            |
-| brewpi/​brewpi-ubuntu ​   | The image that is used. Use`brewpi/​brewpi-raspbianfor the raspberry pi, `brewpi/​brewpi-ubuntufor x64/x86 systems. ​    |+| brewpi/​brewpi-ubuntu ​   | The image that is used. Use''​brewpi/​brewpi-raspbian'' ​for the raspberry pi, ''​brewpi/​brewpi-ubuntu'' ​for x64/x86 systems. ​    |
  
  
Line 53: Line 53:
  
 ==== Use portainer to access the command line of the brewpi container ==== ==== Use portainer to access the command line of the brewpi container ====
-Try to load the portainer web interface: ​`localhost:​9000`.+Try to load the portainer web interface: ​''​localhost:​9000''​.
 It will ask you to set an admin password. Pick a password and set it up. Use it to log in on the next page.  It will ask you to set an admin password. Pick a password and set it up. Use it to log in on the next page.