Configure an api to set remote chamadas

Remember to configure a docker api for changes of chamadas.

Modifici o arquivo / etc / sysconfig / docker da seguinte forma:

# / etc / sysconfig / docker

# Change these options if you want to change the way the docker daemon runs.
OPTIONS = - selinux-enabled --log-driver = journald --signature-verification = false & # 39;
DOCKER_OPTS = - H tcp: //0.0.0.0: 4242 -H unix: ///var/run/docker.sock'


if [ -z "${DOCKER_CERT_PATH}" ]; then
DOCKER_CERT_PATH = / etc / docker
Fi

# Add more registries to this file. Use /etc/containers/registries.conf
# instead of. For more information, see the registries.conf (5) man page.

# Location used for temporary files, such as those created by
# docker loading and construction operations. The default value is / var / lib / docker / tmp
# Can be overridden by setting the next environment variable.
# DOCKER_TMPDIR = / var / tmp

# Check the job status cron /etc/cron.daily/docker-logrotate.
# To disable, uncomment the line below.
# LOGROTATE = false

The # docker-latest daemon can be used by starting the docker-latest file.
# To use the latest docker client, remove the comments under the lines
DOCKERBINARY = / usr / bin / docker-latest
DOCKERDBINARY = / usr / bin / dockerd-latest
DOCKER_CONTAINERD_BINARY = / usr / bin / docker-containerd-latest
DOCKER_CONTAINERD_SHIM_BINARY = / usr / bin / docker-container-shim-latest

After a configuration, realizing

systemctl restart docker.service

Tenho seguinte saida:

The work for docker.service failed because the check process has ended with an error code. See "systemctl status docker.service" and "journalctl -xe" for more details.

Estou usando RHEL 7.1