This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dockernexus [2017/01/27 19:41] cbustillo@uclv |
dockernexus [2020/04/10 17:38] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
- | **Para Debian y Ubuntu con configuración por systemd** | + | **Para Debian 8 y 9 y Ubuntu 16.x con configuración por systemd** |
/etc/default/docker | /etc/default/docker | ||
<code> | <code> | ||
- | DOCKER_OPTS="--dns 10.12.1.50 --registry-mirror=https://nexus.uclv.edu.cu --insecure-registry nexus.uclv.edu.cu" | + | DOCKER_OPTS="--dns 10.12.1.50 --dns 10.12.1.51 --registry-mirror=https://nexus.uclv.edu.cu --insecure-registry=nexus.uclv.edu.cu" |
</code> | </code> | ||
+ | |||
+ | Si estas fuera de la UCLV debe ser asi; | ||
+ | <code> | ||
+ | DOCKER_OPTS="--registry-mirror=https://docker.uclv.edu.cu --insecure-registry=docker.uclv.edu.cu" | ||
+ | </code> | ||
+ | |||
+ | |||
/lib/systemd/system/docker.service | /lib/systemd/system/docker.service | ||
Line 127: | Line 134: | ||
[...] | [...] | ||
Registry Mirrors: | Registry Mirrors: | ||
- | https://nexus.uclv.edu.cu | + | http://nexus.uclv.edu.cu |
[...] | [...] | ||
$ ps fax | grep docker | $ ps fax | grep docker | ||
- | 1500 ? Sl 00:01 /usr/local/bin/dockerd -D -g /var/lib/docker -H unix:// -H tcp://0.0.0.0:2376 --label --provider virtualbox --insecure-registry nexus.uclv.edu.cu --registry-mirror=https://nexus.uclv.edu.cu [...] | + | 1500 ? Sl 00:01 /usr/local/bin/dockerd -D -g /var/lib/docker -H unix:// -H tcp://0.0.0.0:2376 --label --provider virtualbox --insecure-registry nexus.uclv.edu.cu --registry-mirror=http://nexus.uclv.edu.cu [...] |
1506 ? Ssl 0:00 \ docker-containerd -l unix:///var/run/docker/libcontainerd.sock [...] | 1506 ? Ssl 0:00 \ docker-containerd -l unix:///var/run/docker/libcontainerd.sock [...] | ||
</code> | </code> |