Aug 28 10:36:18 systemd Starting centurylink_mysql.service... Aug 28 10:36:18 docker Pulling repository centurylink/mysql Aug 28 10:37:42 systemd Started centurylink_mysql.service. Aug 28 10:37:42 systemd Starting dockerfile_ghost_latest.service... Aug 28 10:37:42 docker Error response from daemon: No such container: centurylink_mysql Aug 28 10:37:42 docker 2014/08/28 01:37:42 Error: failed to remove one or more containers Aug 28 10:37:42 docker Pulling repository dockerfile/ghost Aug 28 10:37:42 docker 140828 1:37:42 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Aug 28 10:37:42 docker 140828 1:37:42 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Aug 28 10:37:43 docker 140828 1:37:43 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Aug 28 10:37:43 docker 140828 1:37:43 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. Aug 28 10:37:43 docker 140828 1:37:43 [Note] Plugin 'FEDERATED' is disabled. Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: The InnoDB memory heap is disabled Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: Mutexes and rw_locks use GCC atomic builtins Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: Compressed tables use zlib 1.2.8 Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: Using Linux native AIO Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: Initializing buffer pool, size = 128.0M Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: Completed initialization of buffer pool Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: highest supported file format is Barracuda. Aug 28 10:37:43 docker 140828 1:37:43 InnoDB: Waiting for the background threads to start Aug 28 10:37:44 docker 140828 1:37:44 InnoDB: 5.5.38 started; log sequence number 1595675 Aug 28 10:37:44 docker 140828 1:37:44 InnoDB: Starting shutdown... Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Shutdown completed; log sequence number 1595675 Aug 28 10:37:45 docker 140828 1:37:45 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Aug 28 10:37:45 docker 140828 1:37:45 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. Aug 28 10:37:45 docker 140828 1:37:45 [Note] Plugin 'FEDERATED' is disabled. Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: The InnoDB memory heap is disabled Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Mutexes and rw_locks use GCC atomic builtins Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Compressed tables use zlib 1.2.8 Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Using Linux native AIO Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Initializing buffer pool, size = 128.0M Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Completed initialization of buffer pool Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: highest supported file format is Barracuda. Aug 28 10:37:45 docker 140828 1:37:45 InnoDB: Waiting for the background threads to start Aug 28 10:37:46 docker 140828 1:37:46 InnoDB: 5.5.38 started; log sequence number 1595675 Aug 28 10:37:46 docker 140828 1:37:46 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 Aug 28 10:37:46 docker 140828 1:37:46 [Note] - '0.0.0.0' resolves to '0.0.0.0'; Aug 28 10:37:46 docker 140828 1:37:46 [Note] Server socket created on IP: '0.0.0.0'. Aug 28 10:37:46 docker 140828 1:37:46 [Note] Event Scheduler: Loaded 0 events Aug 28 10:37:46 docker 140828 1:37:46 [Note] /usr/sbin/mysqld: ready for connections. Aug 28 10:37:46 docker Version: '5.5.38-0ubuntu0.14.04.1-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)
正常にTemplateからコンテナが2台起動しました。
コンテナの起動確認
Panamaxが動いているDockerホストのCoreOSにSSH接続します。
$ eval `ssh-agent` $ ssh-add ~/.ssh/deis $ ssh -A core@10.1.0.66
起動したコンテナのプロセスを確認します。
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ... 6a60a060dd7f dockerfile/ghost:latest bash /ghost-start 22 hours ago Up 22 hours 0.0.0.0:8080->2368/tcp dockerfile_ghost_latest 40526d34a765 centurylink/mysql:5.5 /usr/local/bin/run 22 hours ago Up 22 hours 0.0.0.0:3306->3306/tcp centurylink_mysql,dockerfile_ghost_latest/centurylink_mysql ...