Редакция сообщества разработчиков DB2 висит на «Запуск Docker-контейнеров ...»
Ubuntu 16.04 LTS x64, голый металл, процессор Xeon E5-2660. 128 ГБ ОЗУ.
Docker версия 17.06.2-ce, сборка cec0b72
Использование: ibm-db2-developer_community_edition-1.1.2-x86_64.AppImage
Симптом можно исправить.
Установка зависает на 79% на шаге «Запуск Docker-контейнеров ...» и никогда не завершится.
Вывод docker ps -a
за это время:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f2ed37f629cc db2server:v11.1.2fp2_2 "/var/db2_setup/li..." 33 minutes ago Up 33 minutes 22/tcp, 0.0.0.0:50000->50000/tcp db2server
Похоже, что программа пытается запустить 2 контейнера (db2server * и dsm *), второй зависит от первого, но второй запускается, потому что жалуется, что первого не существует? Какая-то временная проблема? Может быть, я неверно истолковал файл журнала ниже.
Из конца файла журнала (/home/tang/.config/ibm-db2-developerc/Logs/db2-developerc.log):
чик ...
[2017-09-07 12:19:09:0627] [info] Db2server command to execute is:
[2017-09-07 12:19:09:0627] [info] docker run -h db2server_e247e0 --name db2server --restart=always --privileged=true -p 50000:50000 -e DB2INST1_PASSWORD=**** -e LICENSE=accept -e BLU=false -e ENABLE_ORACLE_COMPATIBILITY=false -e TO_CREATE_SAMPLEDB=true -e UPDATEAVAIL=NO -v "/home/tang/.config/ibm-db2-developerc/DB2/db2fs:/db2fs" db2server:v11.1.2fp2_2
[2017-09-07 12:19:09:0627] [info] inside runImage command: docker run -h db2server_e247e0 --name db2server --restart=always --privileged=true -p 50000:50000 -e DB2INST1_PASSWORD=**** -e LICENSE=accept -e BLU=false -e ENABLE_ORACLE_COMPATIBILITY=false -e TO_CREATE_SAMPLEDB=true -e UPDATEAVAIL=NO -v "/home/tang/.config/ibm-db2-developerc/DB2/db2fs:/db2fs" db2server:v11.1.2fp2_2
[2017-09-07 12:19:14:0444] [info] Starting DSM...
[2017-09-07 12:19:14:0444] [info] dsm:v2.1.4_2
[2017-09-07 12:19:14:0444] [info] runDockerImage: DOMAIN_INFO -> we.cumulusrepo.com/db2dg
[2017-09-07 12:19:14:0445] [info] image: dsm:v2.1.4_2, containerName: dsm
[2017-09-07 12:19:14:0445] [info] before calling runContainer: dsm:v2.1.4_2, dsm
[2017-09-07 12:19:14:0460] [info] runDatastudioImage - the datastudioName is equal to undefined
[2017-09-07 12:19:14:0480] [info] command: docker ps --filter "status=running" error: null stdout: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
stderr:
[2017-09-07 12:19:14:0511] [info] command: docker ps --filter "status=exited" error: null stdout: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
stderr:
[2017-09-07 12:19:14:0544] [info] command: docker ps --filter "status=created" error: null stdout: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
stderr:
[2017-09-07 12:19:14:0544] [info] Getting DSM command to run for dsm:v2.1.4_2 and dsm
[2017-09-07 12:19:14:0544] [info] Inside getDsmCommand ...
[2017-09-07 12:19:14:0618] [info] Generated DSM command is:
[2017-09-07 12:19:14:0618] [info] docker run -h dsm_c61b67 --name dsm --restart=always -p 11080:11080 -p 11081:11081 -p 11082:11082 -e DSM_ADMIN=dsmadmin -e DSM_ADMIN_PWD=**** -e DB2INST1_PASSWORD=**** -e TO_CREATE_SAMPLEDB=true --volumes-from db2server dsm:v2.1.4_2
[2017-09-07 12:19:14:0619] [info] inside runImage command: docker run -h dsm_c61b67 --name dsm --restart=always -p 11080:11080 -p 11081:11081 -p 11082:11082 -e DSM_ADMIN=dsmadmin -e DSM_ADMIN_PWD=**** -e DB2INST1_PASSWORD=**** -e TO_CREATE_SAMPLEDB=true --volumes-from db2server dsm:v2.1.4_2
[2017-09-07 12:19:31:0653] [info] command: docker run -h dsm_c61b67 --name dsm --restart=always -p 11080:11080 -p 11081:11081 -p 11082:11082 -e DSM_ADMIN=dsmadmin -e DSM_ADMIN_PWD=dsmadmin+10 -e DB2INST1_PASSWORD=f1nalM0nth -e TO_CREATE_SAMPLEDB=true --volumes-from db2server dsm:v2.1.4_2 error: "
{ Error: Command failed: docker run -h dsm_c61b67 --name dsm --restart=always -p 11080:11080 -p 11081:11081 -p 11082:11082 -e DSM_ADMIN=dsmadmin -e DSM_ADMIN_PWD=dsmadmin+10 -e DB2INST1_PASSWORD=f1nalM0nth -e TO_CREATE_SAMPLEDB=true --volumes-from db2server dsm:v2.1.4_2\n
docker: Error response from daemon: No such container: db2server.\nSee 'docker run --help'.\n\n at ChildProcess.exithandler (child_process.js:217:12)\n at emitTwo (events.js:106:13)\n at ChildProcess.emit (events.js:194:7)\n at maybeClose (internal/child_process.js:899:16)\n at Socket.<anonymous> (internal/child_process.js:342:11)\n at emitOne (events.js:96:13)\n at Socket.emit (events.js:191:7)\n at Pipe._handle.close [as _onclose] (net.js:510:12)\n killed: false,\n code: 125,\n signal: null,\n cmd: 'docker run -h dsm_c61b67 --name dsm --restart=always -p 11080:11080 -p 11081:11081 -p 11082:11082 -e DSM_ADMIN=dsmadmin -e DSM_ADMIN_PWD=dsmadmin+10 -e DB2INST1_PASSWORD=f1nalM0nth -e TO_CREATE_SAMPLEDB=true --volumes-from db2server dsm:v2.1.4_2' }"
stdout: stderr: docker: Error response from daemon: No such container: db2server.
See 'docker run --help'.