Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose up -d - swarm pulls on all nodes
sam /roj/stacks/test/swarm-pull-test> docker-compose --verbose up
compose.config.config.find: Using configuration files: ./docker-compose.yml
docker.auth.auth.find_config_file: Trying paths: ['/roj/config/config.json', '/root/.docker/config.json', '/root/.dockercfg']
docker.auth.auth.find_config_file: Found file at path: /roj/config/config.json
docker.auth.auth.load_config: Found 'auths' section
docker.auth.auth.parse_auth: Found entry (registry=u'registry.example.com/hrzg/ee', username=u'registry')
compose.cli.command.get_client: docker-compose version 1.8.1, build 878cff1
docker-py version: 1.10.3
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
compose.cli.command.get_client: Docker base_url: https://10.11.12.13:3376
compose.cli.command.get_client: Docker version: KernelVersion=4.2.0-42-generic, Os=linux, BuildTime=Thu Aug 18 23:10:29 UTC 2016, ApiVersion=1.22, Version=swarm/1.2.5, GitCommit=27968ed, Arch=amd64, GoVersion=go1.5.4
compose.cli.verbose_proxy.proxy_callable: docker info <- ()
compose.cli.verbose_proxy.proxy_callable: docker info -> {u'Architecture': u'amd64',
u'BridgeNfIp6tables': True,
u'BridgeNfIptables': True,
u'CPUSet': True,
u'CPUShares': True,
u'CgroupDriver': u'',
u'ClusterAdvertise': u'',
u'ClusterStore': u'',
u'Containers': 100,
u'ContainersPaused': 0,
...
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={u'label': [u'com.docker.compose.project=swarmpulltest', 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, filters={u'label': [u'com.docker.compose.project=swarmpulltest', u'com.docker.compose.service=php', 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 <- ('php:5.6.8-apache')
compose.service.pull: Pulling php (php:5.6.8-apache)...
compose.cli.verbose_proxy.proxy_callable: docker pull <- (u'php', tag=u'5.6.8-apache', stream=True)
docker.auth.auth.get_config_header: Looking for auth config
docker.auth.auth.resolve_authconfig: Looking for auth entry for 'docker.io'
docker.auth.auth.resolve_authconfig: No entry found
docker.auth.auth.get_config_header: No auth config found
compose.cli.verbose_proxy.proxy_callable: docker pull -> <generator object _stream_helper at 0x7f97ba8e7c80>
staging-2-hz-1-123: Pulling php:5.6.8-apache... : downloaded
sam-mp2: Pulling php:5.6.8-apache... : downloaded
sam-w36: Pulling php:5.6.8-apache... : downloaded
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=swarmpulltest', u'com.docker.compose.service=php', u'com.docker.compose.oneoff=False']})
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.parallel.feed_queue: Pending: set([<Service: php>])
compose.parallel.feed_queue: Starting producer thread for <Service: php>
compose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('php:5.6.8-apache')
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'apache2-foreground'],
u'Domainname': u'',
u'Entrypoint': None,
u'Env': [u'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
...
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=swarmpulltest', u'com.docker.compose.service=php', 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 <- ('php:5.6.8-apache')
compose.parallel.feed_queue: Pending: set([])
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'apache2-foreground'],
u'Domainname': u'',
u'Entrypoint': None,
u'Env': [u'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
...
compose.service.build_container_labels: Added config hash: 2b4602e8ecf1516a2381905a28f91f9cb88c44e0e350c0f4238b925b9e7eacd9
compose.cli.verbose_proxy.proxy_callable: docker create_host_config <- (memswap_limit=None, links=[], devices=None, pid_mode=None, log_config={'Type': u'', 'Config': {}}, cpu_quota=None, read_only=None, dns=None, volumes_from=[], port_bindings={}, security_opt=None, extra_hosts=None, cgroup_parent=None, network_mode=None, shm_size=None, tmpfs=None, cap_add=None, restart_policy=None, dns_search=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': [],
'Links': [],
'LogConfig': {'Config': {}, 'Type': u''},
'NetworkMode': 'default',
'PortBindings': {},
'VolumesFrom': []}
compose.service.create_container: Creating swarmpulltest_php_1
compose.cli.verbose_proxy.proxy_callable: docker create_container <- (name=u'swarmpulltest_php_1', image='php:5.6.8-apache', labels={u'com.docker.compose.service': u'php', u'com.docker.compose.project': u'swarmpulltest', u'com.docker.compose.config-hash': '2b4602e8ecf1516a2381905a28f91f9cb88c44e0e350c0f4238b925b9e7eacd9', u'com.docker.compose.version': u'1.8.1', u'com.docker.compose.oneoff': u'False', u'com.docker.compose.container-number': '1'}, host_config={'NetworkMode': 'default', 'Links': [], 'PortBindings': {}, 'Binds': [], 'LogConfig': {'Type': u'', 'Config': {}}, 'VolumesFrom': []}, environment=[u'constraint:app==1'], detach=True)
compose.parallel.feed_queue: Pending: set([])
compose.parallel.feed_queue: Pending: set([])
compose.cli.verbose_proxy.proxy_callable: docker create_container -> {u'Id': u'0ca232d6c814137113debd31fc4658509a0c804c84b4ea4f4ed7a9808d6e9421'}
compose.cli.verbose_proxy.proxy_callable: docker inspect_container <- (u'0ca232d6c814137113debd31fc4658509a0c804c84b4ea4f4ed7a9808d6e9421')
compose.parallel.feed_queue: Pending: set([])
compose.cli.verbose_proxy.proxy_callable: docker inspect_container -> {u'AppArmorProfile': u'',
u'Args': [],
u'Config': {u'AttachStderr': False,
u'AttachStdin': False,
u'AttachStdout': False,
u'Cmd': [u'apache2-foreground'],
u'Domainname': u'',
u'Entrypoint': None,
u'Env': [u'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
u'PHP_INI_DIR=/usr/local/etc/php',
...
compose.cli.verbose_proxy.proxy_callable: docker attach <- (u'0ca232d6c814137113debd31fc4658509a0c804c84b4ea4f4ed7a9808d6e9421', stderr=True, stream=True, stdout=True)
compose.parallel.feed_queue: Pending: set([])
compose.cli.verbose_proxy.proxy_callable: docker attach -> <generator object frames_iter at 0x7f97ba8e7d20>
compose.cli.verbose_proxy.proxy_callable: docker start <- (u'0ca232d6c814137113debd31fc4658509a0c804c84b4ea4f4ed7a9808d6e9421')
compose.parallel.feed_queue: Pending: set([])
compose.parallel.feed_queue: Pending: set([])
compose.parallel.feed_queue: Pending: set([])
compose.parallel.feed_queue: Pending: set([])
compose.parallel.feed_queue: Pending: set([])
compose.cli.verbose_proxy.proxy_callable: docker start -> None
compose.parallel.parallel_execute_iter: Finished processing: <Service: php>
compose.parallel.feed_queue: Pending: set([])
Attaching to swarmpulltest_php_1
compose.cli.verbose_proxy.proxy_callable: docker events <- (decode=True, filters={u'label': [u'com.docker.compose.project=swarmpulltest', u'com.docker.compose.oneoff=False']})
php_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
php_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
php_1 | [Fri Jan 13 18:36:12.701103 2017] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/5.6.8 configured -- resuming normal operations
compose.cli.verbose_proxy.proxy_callable: docker events -> <generator object _stream_helper at 0x7f97ba8e7be0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment