Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f0rkb0mbz/docker_quickstart_2020
Let's ride the container Whale!
https://github.com/f0rkb0mbz/docker_quickstart_2020
Last synced: 13 days ago
JSON representation
Let's ride the container Whale!
- Host: GitHub
- URL: https://github.com/f0rkb0mbz/docker_quickstart_2020
- Owner: f0rkb0mbZ
- Created: 2020-01-17T08:29:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T18:57:22.000Z (almost 5 years ago)
- Last Synced: 2023-08-05T13:42:04.510Z (over 1 year ago)
- Language: Dockerfile
- Size: 12.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# An Introduction to Containers with Docker
![](img/docker.png)
Presentation Link: [click here](ppt/Introduction_to_containers.pdf)
## Docker Installation:
For Linux: [click here](docs/Installing_Docker_on_Linux.md)
For Windows: [click here](docs/Installing_Docker_on_Windows.md)
For Mac: Either follow the Windows guide to download docker toolbox, otherwise download the official version from [docker.com](https://www.docker.com/)
## Dockerfile Examples
Dockerfile to build redis ([redis.io](redis.io)) server docker image:
```dockerfile
FROM alpineRUN apk add --update redis
CMD ["redis-server"]
EXPOSE 6379
```Dockerfile to build a RESTful API on Flask:
Repo Link: [github.com/forkbomb-666/drip_irrigation_server](https://github.com/forkbomb-666/drip_irrigation_server)
```dockerfile
FROM python:3WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install -r requirements.txtCOPY . .
CMD [ "gunicorn", "-b :80" , "wsgi:app"]
EXPOSE 80
```## Tools used
Code Snippets Generated using [carbon.now.sh](https://carbon.now.sh/)
Diagrams made in [draw.io](https://drive.google.com/file/d/1gIYtqY-l9Fgtt-w9G5DwA2deIkJbs627/view?usp=sharing)