This article will describe installing docker-engine. Please see here for usage of Docker.
Table of Contents
1 Install docker-engine
The following script will install docker-engine.
#!/bin/sh TMP=`mktemp -t docker-engine.sh.XXXXXX` trap "rm $TMP* 2>/dev/null" 0 sudo zypper -n in curl curl -s https://yum.dockerproject.org/gpg -o ${TMP} sudo rpm --import ${TMP} sudo zypper ar -f \ https://yum.dockerproject.org/repo/main/opensuse/13.2/ \ docker-main sudo zypper -n ref sudo zypper -n in docker-engine sudo systemctl start docker sudo systemctl enable docker sudo gpasswd -a hiroom2 docker sudo reboot
2 Execution result
Run hello-world.
$ docker run hello-world <snip> Hello from Docker! <snip>