DockerCLI/opts
Tony Abboud 438279688c Add error checking for hostPort range
This fix catches the case where there is a single container port
and a dynamic host port and will fail out gracefully
Example docker-compose.yml snippet:
    port:
        ports:
            - "8091-8093:8091"
            - "80:8080"

Signed-off-by: Tony Abboud <tdabboud@hotmail.com>
2017-05-15 11:57:21 +02:00
..
env.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
env_test.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
hosts.go Update docker daemon to dockerd 2017-05-15 11:57:20 +02:00
hosts_test.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
hosts_unix.go Finish linting opts and trust package. 2017-05-15 11:57:15 +02:00
hosts_windows.go Windows: Default to npipe transport 2017-05-15 11:57:18 +02:00
ip.go Convert dockerd to use cobra and pflag 2017-05-15 11:57:19 +02:00
ip_test.go golint: trust 2017-05-15 11:57:15 +02:00
mount.go opts/mount: add tmpfs-specific options 2017-05-15 11:57:19 +02:00
mount_test.go opts/mount: add tmpfs-specific options 2017-05-15 11:57:19 +02:00
opts.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
opts_test.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
opts_unix.go Update docker daemon to dockerd 2017-05-15 11:57:20 +02:00
opts_windows.go Update docker daemon to dockerd 2017-05-15 11:57:20 +02:00
port.go Add error checking for hostPort range 2017-05-15 11:57:21 +02:00
port_test.go Make --publish-rm precedes --publish-add, so that add wins 2017-05-15 11:57:20 +02:00
quotedstring.go Trim quotes from TLS flags. 2017-05-15 11:57:21 +02:00
quotedstring_test.go Trim quotes from TLS flags. 2017-05-15 11:57:21 +02:00
runtime.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
secret.go SecretRequestOptions -> SecretRequestOption 2017-05-15 11:57:20 +02:00
secret_test.go secrets: support simple syntax --secret foo 2017-05-15 11:57:19 +02:00
throttledevice.go Improve usage output for docker run 2017-05-15 11:57:20 +02:00
ulimit.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
ulimit_test.go Clean some stuff from runconfig that are cli only… 2017-05-15 11:57:20 +02:00
weightdevice.go Improve usage output for docker run 2017-05-15 11:57:20 +02:00