https://bugzilla.redhat.com/show_bug.cgi?id=1029980
Bug ID: 1029980 Summary: the run command does not have recent options Product: Fedora Version: 19 Component: docker-io Assignee: lsm5@redhat.com Reporter: rdavaillaud@hbs-research.com QA Contact: extras-qa@fedoraproject.org CC: golang@lists.fedoraproject.org, lsm5@redhat.com, mattdm@redhat.com, mgoldman@redhat.com, vbatts@redhat.com
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
https://bugzilla.redhat.com/show_bug.cgi?id=1029980
--- Comment #1 from Lokesh Mandvekar lsm5@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1029980
Raphaël Davaillaud rdavaillaud@hbs-research.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2013-11-21 04:57:06
--- Comment #2 from Raphaël Davaillaud rdavaillaud@hbs-research.com --- I'm closing my ticket as the latest build docker-io-0.7-0.16.rc6.fc20 has all the options.
https://bugzilla.redhat.com/show_bug.cgi?id=1029980
Marek Goldmann mgoldman@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |docker-io-0.7-0.16.rc6 Resolution|NOTABUG |CURRENTRELEASE
--- Comment #3 from Marek Goldmann mgoldman@redhat.com --- Thanks for the info, I'm altering a bit the resolution info.
golang@lists.fedoraproject.org