|
8 | 8 | -----
|
9 | 9 |
|
10 | 10 | To create the image `tutum/ubuntu` with one tag per Ubuntu release,
|
11 |
| -execute the following commands on the tutum-ubuntu folder: |
12 |
| - |
13 |
| - docker build -t tutum/ubuntu:lucid lucid/ |
14 |
| - docker build -t tutum/ubuntu:precise precise/ |
15 |
| - docker build -t tutum/ubuntu:quantal quantal/ |
16 |
| - docker build -t tutum/ubuntu:raring raring/ |
17 |
| - docker build -t tutum/ubuntu:saucy saucy/ |
18 |
| - docker build -t tutum/ubuntu:trusty trusty/ |
19 |
| - |
20 |
| -To create different images for every Ubuntu release, with just one `latest` tag each, |
21 |
| -execute the following commands on the tutum-ubuntu folder: |
22 |
| - |
23 |
| - docker build -t tutum/ubuntu-lucid lucid/ |
24 |
| - docker build -t tutum/ubuntu-precise precise/ |
25 |
| - docker build -t tutum/ubuntu-quantal quantal/ |
26 |
| - docker build -t tutum/ubuntu-raring raring/ |
27 |
| - docker build -t tutum/ubuntu-saucy saucy/ |
28 |
| - docker build -t tutum/ubuntu-trusty trusty/ |
| 11 | +execute the following commands on the tutum-ubuntu branch: |
| 12 | + |
| 13 | + git checkout master |
| 14 | + docker build -t tutum/ubuntu:latest . |
| 15 | + |
| 16 | + git checkout lucid |
| 17 | + docker build -t tutum/ubuntu:lucid . |
| 18 | + |
| 19 | + git checkout precise |
| 20 | + docker build -t tutum/ubuntu:precise . |
| 21 | + |
| 22 | + git checkout quantal |
| 23 | + docker build -t tutum/ubuntu:quantal . |
| 24 | + |
| 25 | + git checkout raring |
| 26 | + docker build -t tutum/ubuntu:raring . |
| 27 | + |
| 28 | + git checkout saucyy |
| 29 | + docker build -t tutum/ubuntu:saucy . |
| 30 | + |
| 31 | + git checkout trusty |
| 32 | + docker build -t tutum/ubuntu:trusty . |
29 | 33 |
|
30 | 34 |
|
31 | 35 | Running tutum/ubuntu
|
@@ -64,4 +68,3 @@ If you want to use a preset password instead of a random generated one, you can
|
64 | 68 | set the environment variable `ROOT_PASS` to your specific password when running the container:
|
65 | 69 |
|
66 | 70 | docker run -d -p 0.0.0.0:2222:22 -e ROOT_PASS="mypass" tutum/ubuntu:trusty
|
67 |
| - |
|
0 commit comments