Docker/Dockerfiles/Git
From charlesreid1
Using git to organize Dockerfiles:
- Started by creating an organization on git.charlesreid1.com (can do this on Github/Github Enterprise/GitLab/BitBucket as well)
- Organization was called docker: https://git.charlesreid1.com/docker
- User docker owns repositories related to storing Dockerfiles for docker containers that are useful to have accessible across machines.
All repositories created in the docker organization follow the same system:
- Each repo prefixed with d-
- Apache httpd is d-httpd
- Mongodb container is d-mongodb
- Etc
Repository contents:
- Dockerfile
- Readme
- Config files
- Relevant scripts for building/running/other important verbs
- You basically plug and chug, docker build with the docker file
Git:
- Possible to use Git because Dockerfiles are just plain text.
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
|