2
This is the docker app deployment mechanism.
4
Actual docker version: 1.6.2
6
Apparmor profiles have been moved to /var/lib/apparmor/profiles, default profile as been modified.
7
Data is stored in /var/lib/apps/docker/${version_of_snap_package}/.
9
If you need to pass through proxies or dns, edit /apps/docker/current/etc/docker.conf accordingly and restart the docker service:
11
FTP_PROXY=http://your.proxy:3128
12
HTTP_PROXY=http://your.proxy:3128
13
HTTPS_PROXY=http://your.proxy:3128
14
DOCKER_OPTIONS="--dns 8.8.8.8"
16
If you need privileged access, you can issue 'docker-privilege on'. But
17
the confinment will be nearly inexistant.
19
User data is in $HOME/apps/docker/1.6.2.001
20
Docker can read and write to your home/apps/docker/** directory, place your Dockerfile, there.
22
cd /home/ubuntu/apps/docker/1.6.2.001/
23
echo "FROM ubuntu:latest" > Dockerfile
25
docker save -o my_image.tar IMAGE_UUID
26
docker load -i my_image.tar
28
All of the commands that require docker to read local files must be done
29
within the $HOME/apps/docker/$Version/ dir or with full path to this dir
32
sudo systemctl restart docker_docker_${version_of_snap_package}.service
1
36
If you want to build it just issue:
2
37
snappy build package-dir
4
39
Known issues so far:
5
40
docker.svg, it is a png saved as a svg for now.
7
Then copy it to your snappy instance and install it (snappy install docker_1.3.2.00x_amd64.snap).
9
If you need to add proxies or dns, look at meta/readme.md.
42
Then copy it to your snappy instance and install it (snappy install docker_VERSION_ARCH.snap).
32
65
80123ba0450a armbuild/ubuntu:trusty "/bin/sh" 7 seconds ago Up 5 seconds ecstatic_newton
36
69
Client API version: 1.18
37
70
Go version (client): go1.4.2
38
Git commit (client): b6d9ed8
39
OS/Arch (client): linux/arm
71
Git commit (client): a464a34 #OR 8f2d6e5
72
OS/Arch (client): linux/arm #OR linux/amd64
41
74
Server API version: 1.18
42
75
Go version (server): go1.4.2
43
Git commit (server): b6d9ed8
44
OS/Arch (server): linux/arm
76
Git commit (server): a464a34 #OR 8f2d6e5
77
OS/Arch (server): linux/arm #OR linux/amd64
46
79
$ docker search tutorial
47
80
... the tutorial ...