Red Hat Bugzilla – Bug 1029980
the run command does not have recent options
Last modified: 2014-07-01 18:59:44 EDT
Using docker-io.x86_64 0:0.7-0.13.dm.fc19 rpm from Marek Goldmann's repository.
The docker run command doesn't provide some recent (0.6.5) options like name or link
sudo docker help run
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
-a=map: Attach to stdin, stdout or stderr.
-c=0: CPU shares (relative weight)
-cidfile="": Write the container ID to the file
-d=false: Detached mode: Run container in the background, print new container id
-dns=: Set custom dns servers
-e=: Set environment variables
-entrypoint="": Overwrite the default entrypoint of the image
-h="": Container host name
-i=false: Keep stdin open even if not attached
-lxc-conf=: Add custom lxc options -lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
-m=0: Memory limit (in bytes)
-n=true: Enable networking for this container
-p=: Expose a container's port to the host (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)
-t=false: Allocate a pseudo-tty
-u="": Username or UID
-v=map: Bind mount a volume (e.g. from the host: -v /host:/container, from docker: -v /container)
-volumes-from=: Mount volumes from the specified container
-w="": Working directory inside the container
The current rpm is kinda old, and I'm guessing docker will soon be getting out 0.7-rc5 which should have the new options (https://github.com/dotcloud/docker/issues/2359#issuecomment-28363860). I'll build and put the rc5 rpm as soon as it's out
I'm closing my ticket as the latest build docker-io-0.7-0.16.rc6.fc20 has all the options.
Thanks for the info, I'm altering a bit the resolution info.