Docker – Management, Clients

How to manage multiple instances of Docker in production?
http://rancher.com/
https://kubernetes.io/

How to connect to Docker?

Option 1: Thick clients, We can start/stop/build containers and lot more.
https://docs.docker.com/engine/api/sdks/#other-languages

Spotify Client: https://github.com/spotify/docker-client (Supports latest Docker version)
Docker Java: https://github.com/docker-java/docker-java

This is recommended when we need to do heavy lifting work with containers.

Option 2: Thin Client:

HTTPClient is good enough, when Docker exposes services.
This is more appropriate way to design docker container and communicate with docker container.

Option 3: Using Java Shell and hitting docker commands.
This is not recommended when loading/unloading process is costly.
Also assuming that docker is available in shell.

Option 4: Using Docker REST urls
https://docs.docker.com/engine/api/v1.26/#operation/ContainerList

This gives more control on Docker container. Useful to deal with low level.
Docker is keep on changing their interfaces and causing trouble to developers/production systems.

-o-

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s