Last active
June 20, 2016 19:11
-
-
Save goyalankit/38a6dcaca7e8fdbce0cf0889b21c7cc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dockerswarm | |
---- | |
highly available, fault tolerant. replacing kubernates? | |
docker service | |
-------- | |
- labels to target hosts. using constraints. | |
| Docker Service Commands | | |
|-------------------------| | |
| docker service create | | |
| docker service scale | --> can deploy more instances of your app | |
swarmkit -> orchestration technology | |
services depends on completion of tasks. currently tasks are satisfied when | |
containers are up. | |
routing mesh: | |
- container aware, autometically reroutes to a host that's running the container. | |
- works with existing load balancers | |
### container healthcheck in Dockerfile (in process) | |
``` | |
CMD curl -f http://localhost:5000/admin | exit 1 | |
``` | |
### Plugins | |
``` | |
docker plugin install|enable|disable | |
``` | |
------------------------------------------------------------------------------------------------------------------------ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment