Пытаюсь сынтегрировать Jenkins и Docker, но что-то идет не так. Docker работает на Centos 7.
По инструкциям настроила докер, подняла по порту 4243. Также есть два Дженкинса. Один поднят в контейнере докера, второй поднят на другом сервере. Цель все же настроить на второй дженкинс.
Первый при тестировании доступа к докеру возвращает: Version = 1.11.2-rc1.
Второй - Something went wrong, cannot connect to
x.x.x.x:4243, cause: null
На дженкинс установлен Docker Plugin (
отсюда)
Версия Docker: Docker version 1.11.2-rc1, build 1179573
Если попробовать постучаться через telnet, то возвращается 404.
В логах systemd как таковых ошибок нет.
Но почему-то каждые 3-5 минут текст следующего плана:
Jun 02 05:25:01 name.server kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Jun 02 05:25:01 name.server systemd[1]: Created slice user-991.slice.
-- Subject: Unit user-991.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-991.slice has finished starting up.
--
-- The start-up result is done.
Jun 02 05:25:01 name.server systemd[1]: Starting user-991.slice.
-- Subject: Unit user-991.slice has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-991.slice has begun starting up.
Jun 02 05:25:01 name.server systemd[1]: Started Session 7751 of user pcp.
-- Subject: Unit session-7751.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-7751.scope has finished starting up.
--
-- The start-up result is done.
Jun 02 05:25:01 name.server systemd[1]: Starting Session 7751 of user pcp.
-- Subject: Unit session-7751.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-7751.scope has begun starting up.
Jun 02 05:25:01 name.server CROND[2551]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_check -C)
Jun 02 05:25:02 name.server systemd[1]: Removed slice user-991.slice.
-- Subject: Unit user-991.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-991.slice has finished shutting down.
Jun 02 05:25:02 name.server systemd[1]: Stopping user-991.slice.
-- Subject: Unit user-991.slice has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-991.slice has begun shutting down.
Также были выполнены команды:
systemctl disable firewalld
systemctl stop firewalld
Ниже файлы с настройками докера:
/usr/lib/systemd/system/docker.service
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket
[Service]
Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
# exists and systemd currently does not support the cgroup feature set required
# for containers run by docker
EnvironmentFile=-/etc/sysconfig/docker
ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_OPTS
MountFlags=slave
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
[Install]
WantedBy=multi-user.target
/etc/sysconfig/docker
DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:////run/docker.sock"
Что, где еще можно посмотреть, как все же настроить Docker?