Skip to content

Instantly share code, notes, and snippets.

@lfn3
Created January 5, 2016 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfn3/8ea708ee3b2e57479dc9 to your computer and use it in GitHub Desktop.
Save lfn3/8ea708ee3b2e57479dc9 to your computer and use it in GitHub Desktop.
Docker-compose up with dns as string fails in 1.5.2 on OSX logs
compose.config.config.find: Using configuration files: ./docker-compose.yml
docker.auth.auth.load_config: Trying /Users/lfalconer/.docker/config.json
docker.auth.auth.load_config: Found 'auths' section
docker.auth.auth.parse_auth: Found entry (registry=u'docker.liveopslabs.com', username=u'titan')
compose.cli.command.get_client: docker-compose version 1.5.2, build 7240ff3
docker-py version: 1.5.0
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014
compose.cli.command.get_client: Docker base_url: https://172.16.19.89:2376
compose.cli.command.get_client: Docker version: KernelVersion=3.16.0-30-generic, Os=linux, BuildTime=Fri Nov 20 13:16:54 UTC 2015, ApiVersion=1.21, Version=1.9.1, GitCommit=a34a1d5, Arch=amd64, GoVersion=go1.4.2
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=lfalconer', u'com.docker.compose.service=test', u'com.docker.compose.oneoff=False']})
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True)
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 1 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=lfalconer', u'com.docker.compose.service=test', u'com.docker.compose.oneoff=False']})
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True)
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 1 items)
compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('busybox')
compose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {u'Architecture': u'amd64',
u'Author': u'',
u'Comment': u'',
u'Config': {u'AttachStderr': False,
u'AttachStdin': False,
u'AttachStdout': False,
u'Cmd': [u'sh'],
u'Domainname': u'',
u'Entrypoint': None,
u'Env': None,
...
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=lfalconer', u'com.docker.compose.service=test', u'com.docker.compose.oneoff=False']})
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('busybox')
compose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {u'Architecture': u'amd64',
u'Author': u'',
u'Comment': u'',
u'Config': {u'AttachStderr': False,
u'AttachStdin': False,
u'AttachStdout': False,
u'Cmd': [u'sh'],
u'Domainname': u'',
u'Entrypoint': None,
u'Env': None,
...
compose.service.build_container_labels: Added config hash: 3029742051b64d7cf6c687ac48f34b42c6c30da48b7933dff2b4d3f525be7ceb
compose.cli.verbose_proxy.proxy_callable: docker create_host_config <- (memswap_limit=None, links=[], dns_search=None, pid_mode=None, log_config={'Type': u'', 'Config': {}}, read_only=None, dns='127.0.0.1', volumes_from=[], port_bindings={}, security_opt=None, extra_hosts=None, cgroup_parent=None, network_mode=None, cap_add=None, restart_policy=None, devices=None, privileged=False, binds=[], ipc_mode=None, mem_limit=None, cap_drop=None, ulimits=None)
compose.cli.verbose_proxy.proxy_callable: docker create_host_config -> {'Binds': [],
'Dns': '127.0.0.1',
'Links': [],
'LogConfig': {'Config': {}, 'Type': u''},
'PortBindings': {},
'VolumesFrom': []}
compose.service.create_container: Creating lfalconer_test_1
compose.cli.verbose_proxy.proxy_callable: docker create_container <- (name=u'lfalconer_test_1', image='busybox', labels={u'com.docker.compose.service': u'test', u'com.docker.compose.project': u'lfalconer', 'com.docker.compose.config-hash': '3029742051b64d7cf6c687ac48f34b42c6c30da48b7933dff2b4d3f525be7ceb', 'com.docker.compose.version': u'1.5.2', u'com.docker.compose.oneoff': u'False', 'com.docker.compose.container-number': '1'}, host_config={'Links': [], 'PortBindings': {}, 'Binds': [], 'Dns': '127.0.0.1', 'LogConfig': {'Type': u'', 'Config': {}}, 'VolumesFrom': []}, environment={}, detach=True)
ERROR: compose.cli.main.main: json: cannot unmarshal string into Go value of type []string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment