etc/systemd/system//nf still has the -label provider=generic that is the last parameter to move in daemon. The goal is to pass parameters to the overriding script in systemd and keep everything in daemon.json that is much more readable and cleanerĭefault script /etc/systemd/system//nf is: ĮxecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock -storage-driver overlay2 -tlsverify -tlscacert /etc/docker/ca.pem -tlscert /etc/docker/server.pem -tlskey /etc/docker/server-key.pem -label provider=generic -insecure-registry mtm-registry:5000 Gitlab docs not quite introduce this command. I found I could write gitlab-ci.yml like this to pass parameter. I am trying to setup docker daemon on Centos 7. I want to start my dind which like to run this command docker run -rm -name dind -it -privileged docker:dind -insecure-registry 10.4.211.51:5000 at Gitlab Runner.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |