Skip to content

Instantly share code, notes, and snippets.

@strund3r
Created November 9, 2016 21:12
Show Gist options
  • Save strund3r/9119cbab8af58ca27ac6b7ac92536dac to your computer and use it in GitHub Desktop.
Save strund3r/9119cbab8af58ca27ac6b7ac92536dac to your computer and use it in GitHub Desktop.
https://docs.google.com/document/d/1ez-CoBwxVhxPodNQkxvkipEYwyixrpAHavwipovwf8k/edit
https://docs.google.com/document/d/1Z35otIj_LK9Sq8xSXku8Fba6PdhYZbgncBHWkVivL6k/edit
# Operations - Beginner
## Deploying a local registry
Erro: Get https://localhost:5000/v1/_ping: http: server gave HTTP response to HTTPS client
Solução: 1. Criar ou modificar /etc/docker/daemon.json
{ "insecure-registries":["localhost:5000"] }
2. Restart docker daemon
sudo service docker restart
# Operations - Intermediate
## Global scheduling
(Possível)Erro: Re-create the rng service with global scheduling:
docker service create --name rng --network dockercoins --mode global \
$DOCKER_REGISTRY/dockercoins_rng:$TAG
Solução: docker service create --name rng --network dockercoins --mode global \
localhost:5000/dockercoins_rng:v1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment