Docker Swarm

Initialize the swarm docker swarm init –listen-addr 195.122.17.92:3000 –advertise-addr 10.10.0.6 We need the –advertise-addr because there are two IP addresses assigned to the same interface. Create a service docker service create –name my-service –publish 3000:3000 my-image:1.0.0 Set the service to be hosted on two nodes docker service update –replicas 2 my-service

Developing with Docker

Working on Docker (https://www.flickr.com/photos/134416355@N07/31518965950) In my last post about Docker, I went over container theory and some basic Docker commands. In this post, I will cover using Docker in an application development workflow. We’ll look at developing a Python/Flask API in a container using Docker.

Getting Started with Docker

Docker is a tool for developers that facilitates the creation, deployment, and running of applications using containers. In this post, I’ll go over what containers are, their benefits, and some of the fundamental Docker concepts and commands.