Docker/Compose
From charlesreid1
Contents
What is docker compose
We have a flag related to docker pods - groups of containers working in concert. That's what docker compose is for.
On the one hand, it's annoying because it provides a new and totally different way of running containers - via a YAML file - that is more complicated than the old command line way of running docker containers, and totally redundant, and a pain, and did I mention how annoying it is?
On the other hand, it's easier to bring a group of containers up/down together. Since most of the docker repos I'm working on lately are for a singular purpose and one-off application, this makes more sense. Now, the docker repos are focused ONLY on the Dockerfile, and the docker compose is focused on setting environment variables, ports, volume maps, etc.
(Although we still need a lot of guidance, or an example docker compose .yml, in each docker repo that we expect to use with docker compose.)
Docs
This is an excessive amount of documentation to read through just to get the hang of a tool that does EXACTLY WHAT I WAS ABLE TO DO PREVIOUSLY.
Worse: the documentation covers two baby topics and then dumps you straight into a 10,000-word exhaustive treatise on every command available in docker compose.
Great, thanks, just how I like spending my Saturday morning.
Link: https://docs.docker.com/compose/
See also
Flags
docker notes on the virtual microservice container platform
Installing the docker platform: Docker/Installing Docker Hello World: Docker/Hello World
Creating Docker Containers: Getting docker containers from docker hub: Docker/Dockerhub Creating docker containers with dockerfiles: Docker/Dockerfiles Managing Dockerfiles using git: Docker/Dockerfiles/Git Setting up Python virtualenv in container: Docker/Virtualenv
Running docker containers: Docker/Basics Dealing with volumes in Docker images: Docker/Volumes Removing Docker images: Docker/Removing Images Rsync Docker Container: Docker/Rsync
Networking with Docker Containers:
|
docker pods pods are groups of docker containers that travel together
Docker pods are collections of Docker containers that are intended to run in concert for various applications.
Wireless Sensor Data Acquisition Pod The wireless sensor data acquisition pod deploys containers This pod uses the following technologies: Stunnel · Rsync · Apache · MongoDB · Python · Jupyter (numerical Python stack)
Deep Learning Pod This pod utilizes the following technologies: Python · Sklearn · Jupyter (numerical Python stack) · Keras · TensorFlow
|