zeus
2 years ago
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
registry_address=hub.swarmlab.io |
||||
|
registry_port=5443 |
||||
|
mkdir -p /etc/docker/certs.d/$registry_address:$registry_port |
||||
|
openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt |
||||
|
|
||||
|
registry_port=5480 |
||||
|
mkdir -p /etc/docker/certs.d/$registry_address:$registry_port |
||||
|
openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt |
@ -0,0 +1,5 @@ |
|||||
|
docker stop my-nvim-appl |
||||
|
docker rm my-nvim-appl |
||||
|
docker volume create my-nvim-volume |
||||
|
docker run -it -v my-nvim-volume:/root $(pwd):/root/appl --name my-nvim-appl mashmb/nvim:dev /bin/bash |
||||
|
|
Loading…
Reference in new issue