Ubuntu Pastebin

Paste from jdstrand at Fri, 10 Apr 2015 14:07:19 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$ docker images
$ docker version
$ docker search tutorial
$ docker pull ubuntu:trusty
$ docker run ubuntu:trusty uptime
$ docker run -i -t ubuntu:trusty /bin/sh

In other terminal:
$ docker ps -l
$ docker stop <container id from ps -l>
    (/bin/sh from other terminal should now be stopped)

$ docker-privilege status
Actual status (by the file, not by audit) is:
/var/lib/apparmor/profiles/profile_docker_docker-daemon_1.5.0.001:###UNPRIVILEGED###

$ docker-privilege on
enabling privilege mode

$ docker-privilege status
Actual status (by the file, not by audit) is:
/var/lib/apparmor/profiles/profile_docker_docker-daemon_1.5.0.001:###PRIVILEGED###

$ docker-privilege off
disabling privilege mode

$ docker-privilege status
Actual status (by the file, not by audit) is:
/var/lib/apparmor/profiles/profile_docker_docker-daemon_1.5.0.001:###UNPRIVILEGED###
Download as text