Created
February 26, 2014 22:48
-
-
Save prologic/9240426 to your computer and use it in GitHub Desktop.
Issue #4080
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh vz1.nectar | |
Last login: Thu Feb 13 05:08:53 UTC 2014 from pc031986.staff.ad.griffith.edu.au on ssh | |
______ ____ _____ | |
/ ____/___ ________ / __ \/ ___/ | |
/ / / __ \/ ___/ _ \/ / / /\__ \ | |
/ /___/ /_/ / / / __/ /_/ /___/ / | |
\____/\____/_/ \___/\____//____/ | |
core@vz1 ~ $ | |
core@vz1 ~ $ docker images | |
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE | |
prologic/hipache latest 7334e4164c67 2 weeks ago 291.9 MB | |
crosbymichael/skydock latest 4398a964cdb1 2 weeks ago 218.2 MB | |
ubuntu 13.10 9f676bd305a4 3 weeks ago 178 MB | |
ubuntu saucy 9f676bd305a4 3 weeks ago 178 MB | |
ubuntu 13.04 eb601b8965b8 3 weeks ago 166.5 MB | |
ubuntu raring eb601b8965b8 3 weeks ago 166.5 MB | |
ubuntu 12.10 5ac751e8d623 3 weeks ago 161 MB | |
ubuntu quantal 5ac751e8d623 3 weeks ago 161 MB | |
ubuntu 10.04 9cc9ea5ea540 3 weeks ago 180.8 MB | |
ubuntu lucid 9cc9ea5ea540 3 weeks ago 180.8 MB | |
ubuntu 12.04 9cd978db300e 3 weeks ago 204.4 MB | |
ubuntu latest 9cd978db300e 3 weeks ago 204.4 MB | |
ubuntu precise 9cd978db300e 3 weeks ago 204.4 MB | |
hipache 0.2.4 a9ee0d8b91ed 3 weeks ago 271.3 MB | |
hipache latest a9ee0d8b91ed 3 weeks ago 271.3 MB | |
crosbymichael/skydns latest 1923ce648d4c 3 weeks ago 137.5 MB | |
core@vz1 ~ $ ^C | |
core@vz1 ~ $ | |
core@vz1 ~ $ docker run prologic/hipache /bin/bash | |
core@vz1 ~ $ docker run -i -it prologic/hipache /bin/bash | |
flag provided but not defined: -it | |
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] | |
Run a command in a new container | |
-P, --publish-all=false: Publish all exposed ports to the host interfaces | |
-a, --attach=[]: Attach to stdin, stdout or stderr. | |
-c, --cpu-shares=0: CPU shares (relative weight) | |
--cidfile="": Write the container ID to the file | |
-d, --detach=false: Detached mode: Run container in the background, print new container id | |
--dns=[]: Set custom dns servers | |
-e, --env=[]: Set environment variables | |
--entrypoint="": Overwrite the default entrypoint of the image | |
--expose=[]: Expose a port from the container without publishing it to your host | |
-h, --hostname="": Container host name | |
-i, --interactive=false: Keep stdin open even if not attached | |
--link=[]: Add link to another container (name:alias) | |
--lxc-conf=[]: Add custom lxc options -lxc-conf="lxc.cgroup.cpuset.cpus = 0,1" | |
-m, --memory="": Memory limit (format: <number><optional unit>, where unit = b, k, m or g) | |
-n, --networking=true: Enable networking for this container | |
--name="": Assign a name to the container | |
-p, --publish=[]: Publish a container's port to the host (format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort) (use 'docker port' to see the actual mapping) | |
--privileged=false: Give extended privileges to this container | |
--rm=false: Automatically remove the container when it exits (incompatible with -d) | |
--sig-proxy=true: Proxify all received signal to the process (even in non-tty mode) | |
-t, --tty=false: Allocate a pseudo-tty | |
-u, --user="": Username or UID | |
-v, --volume=[]: Bind mount a volume (e.g. from the host: -v /host:/container, from docker: -v /container) | |
--volumes-from=[]: Mount volumes from the specified container(s) | |
-w, --workdir="": Working directory inside the container | |
core@vz1 ~ $ | |
core@vz1 ~ $ docker run -i -t prologic/hipache /bin/bash | |
root@dc85ebb41ac4:/# cd | |
root@dc85ebb41ac4:/# supervisord -n | |
Illegal instruction | |
root@dc85ebb41ac4:/# exit | |
core@vz1 ~ $ docker info | |
Containers: 4 | |
Images: 45 | |
Driver: aufs | |
Root Dir: /var/lib/docker/aufs | |
Dirs: 53 | |
Username: prologic | |
Registry: [https://index.docker.io/v1/] | |
core@vz1 ~ $ docker version | |
Client version: 0.8.0 | |
Go version (client): go1.2 | |
Git commit (client): cc3a8c8 | |
Server version: 0.8.0 | |
Git commit (server): cc3a8c8 | |
Go version (server): go1.2 | |
Last stable version: 0.8.1, please update docker | |
core@vz1 ~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment