12 lines
233 B
Bash
12 lines
233 B
Bash
#!/bin/bash
|
|
|
|
mkdir -p /etc/docker
|
|
|
|
cat <<EOF > /etc/docker/daemon.json
|
|
{
|
|
"insecure-registries": ["http://nexus-repo-nexus-repository-manager.default.svc.cluster.local:5000"]
|
|
}
|
|
EOF
|
|
|
|
exec dockerd --host=unix:///var/run/docker.sock
|