moby/opts
Tony Abboud 135f8f9674 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-01-13 18:05:51 -05:00
..
env.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
env_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
hosts.go Merge pull request #29697 from yuexiao-wang/fix-docker-daemon 2017-01-04 11:55:38 +01:00
hosts_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
hosts_unix.go Finish linting opts and trust package. 2015-08-27 17:36:11 +02:00
hosts_windows.go Windows: Default to npipe transport 2016-03-01 18:27:01 -08:00
ip.go Convert dockerd to use cobra and pflag 2016-08-25 13:09:03 -04:00
ip_test.go golint: trust 2015-08-27 11:40:27 +02:00
mount.go opts/mount: add tmpfs-specific options 2016-11-09 02:01:53 +00:00
mount_test.go opts/mount: add tmpfs-specific options 2016-11-09 02:01:53 +00:00
opts.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
opts_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
opts_unix.go Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
opts_windows.go Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
port.go Add error checking for hostPort range 2017-01-13 18:05:51 -05:00
port_test.go Make --publish-rm precedes --publish-add, so that add wins 2016-12-11 23:14:54 +01:00
quotedstring.go Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
quotedstring_test.go Trim quotes from TLS flags. 2017-01-03 15:58:41 -05:00
runtime.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
secret.go SecretRequestOptions -> SecretRequestOption 2016-11-09 14:27:45 -05:00
secret_test.go secrets: support simple syntax --secret foo 2016-11-09 14:27:45 -05:00
throttledevice.go Improve usage output for docker run 2016-12-30 17:35:46 +01:00
ulimit.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
ulimit_test.go Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
weightdevice.go Improve usage output for docker run 2016-12-30 17:35:46 +01:00