Docker Swarm

Initialize the swarm docker swarm init –listen-addr –advertise-addr 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 ( 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.