Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ellerbrock/docker-tutorial
:whale: Getting Started with Docker
https://github.com/ellerbrock/docker-tutorial
Last synced: 3 months ago
JSON representation
:whale: Getting Started with Docker
- Host: GitHub
- URL: https://github.com/ellerbrock/docker-tutorial
- Owner: ellerbrock
- License: cc-by-sa-4.0
- Created: 2016-06-06T05:02:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-30T17:01:47.000Z (about 8 years ago)
- Last Synced: 2024-07-19T21:10:13.307Z (4 months ago)
- Homepage: https://ellerbrock.github.io/docker-tutorial
- Size: 24.4 KB
- Stars: 14
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-koa - Docker Tutorial - Getting Started with Docker. (Other Web Development Lists)
README
![Docker](https://github.frapsoft.com/top/docker.png)
# Docker Tutorial [![Build Status](https://travis-ci.org/ellerbrock/docker-tutorial.svg?branch=master)](https://travis-ci.org/ellerbrock/docker-tutorial) [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/) [![Gitter Chat](https://badges.gitter.im/frapsoft/frapsoft.svg)](https://gitter.im/frapsoft/frapsoft/)
## Installation
Download the [Docker Toolbox](https://www.docker.com/products/docker-toolbox).
Its **best practice** to run each service in his own Docker container. To orchestrate them we need [Docker Compose](https://docs.docker.com/compose/).
`docker-machine` for administration and configuration von Docker Machines
## Documentation
- [Awesome Docker](http://veggiemonk.github.io/awesome-docker/)
- [from Vagrant to Docker](http://blog.osteel.me/posts/2015/12/18/from-vagrant-to-docker-how-to-use-docker-for-local-web-development.html)
- [Docker Images Comparison](https://www.brianchristner.io/docker-image-base-os-size-comparison/)
- [Docker related Blog](https://labs.ctl.io/)## Docker Images
Visit [Docker Hub](https://hub.docker.com/) for Docker Containers.
### Plain Linux
- `docker pull alpine` - [official Alpine](https://hub.docker.com/_/alpine/) | [Documentation](http://gliderlabs.viewdocs.io/docker-alpine/) | [apk](http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Update_the_Package_list) | [packages](https://pkgs.alpinelinux.org/packages)
- `docker pull busybox` - [official BusyBox](https://hub.docker.com/_/busybox/)
- `docker pull centos` - [CentOS](https://hub.docker.com/_/centos/)
- `docker pull debian` - [official Debian](https://hub.docker.com/_/debian/)
- `docker pull ubuntu` - [official Ubuntu](https://hub.docker.com/_/ubuntu/)### LAMP / LEMP Stack
- `docker pull eboraas/apache` - [official Apache](https://hub.docker.com/r/eboraas/apache/)
- `docker pull nginx` - [official nginx](https://hub.docker.com/_/nginx/)
- `docker pull php` - [official PHP](https://hub.docker.com/_/php/)
- `docker pull mariadb` - [official MariaDB](https://hub.docker.com/_/mariadb/)
- `docker pull mysql` [official MySQL](https://hub.docker.com/_/mysql/)#### PHP Applications
- `docker pull wordpress` - [official Wordpress](https://hub.docker.com/_/wordpress/)
- `docker pull piwik` - [official Piwik](https://hub.docker.com/_/piwik/)
- `docker pull phpmyadmin/phpmyadmin` - [phpmyadmin](https://hub.docker.com/r/phpmyadmin/phpmyadmin/)### Node.js
- `docker pull node` - [official Node.js](https://hub.docker.com/_/node/)
#### Phusion Passenger
- `brew install passenger` - optimized Node.js Image
#### Flat File CMS
- `docker pull gugu/raneto` - [Raneto](https://hub.docker.com/r/gugu/raneto/)
#### Blog
- `docker pull ghost` - [official ghost](https://hub.docker.com/_/ghost/)
### NoSQL
- `docker pull mongo` - [official MongoDB](https://hub.docker.com/_/mongo/)
- `docker pull redis` - [official Redis](https://hub.docker.com/_/redis/)### Docker Images for Penetration Testing & Security
- `docker pull kalilinux/kali-linux-docker` [official Kali Linux](https://hub.docker.com/r/kalilinux/kali-linux-docker/)
- `docker pull owasp/zap2docker-stable` - [official OWASP ZAP](https://github.com/zaproxy/zaproxy)
- `docker pull wpscanteam/wpscan` - [official WPScan](https://hub.docker.com/r/wpscanteam/wpscan/)
- `docker pull pandrew/metasploit` - [docker-metasploit](https://hub.docker.com/r/pandrew/metasploit/)
- `docker pull citizenstig/dvwa` - [Damn Vulnerable Web Application (DVWA)](https://hub.docker.com/r/citizenstig/dvwa/)
- `docker pull wpscanteam/vulnerablewordpress` - [Vulnerable WordPress Installation](https://hub.docker.com/r/wpscanteam/vulnerablewordpress/)
- `docker pull hmlio/vaas-cve-2014-6271` - [Vulnerability as a service: Shellshock](https://hub.docker.com/r/hmlio/vaas-cve-2014-6271/)
- `docker pull hmlio/vaas-cve-2014-0160` - [Vulnerability as a service: Heartbleed](https://hub.docker.com/r/hmlio/vaas-cve-2014-0160/)
- `docker pull opendns/security-ninjas` - [Security Ninjas](https://hub.docker.com/r/opendns/security-ninjas/)
- `docker pull usertaken/archlinux-pentest-lxde` - [Arch Linux Penetration Tester](https://hub.docker.com/r/usertaken/archlinux-pentest-lxde/)
- `docker pull diogomonica/docker-bench-security` - [Docker Bench for Security](https://hub.docker.com/r/diogomonica/docker-bench-security/)
- `docker pull ismisepaul/securityshepherd` - [OWASP Security Shepherd](https://hub.docker.com/r/ismisepaul/securityshepherd/)
- `docker pull danmx/docker-owasp-webgoat` - [OWASP WebGoat Project docker image](https://hub.docker.com/r/danmx/docker-owasp-webgoat/)
- `docker pull citizenstig/nowasp` - [OWASP Mutillidae II Web Pen-Test Practice Application](https://hub.docker.com/r/citizenstig/nowasp/)### Continuous Integration Testing
- `docker pull jenkins` - [official Jenkins](https://hub.docker.com/_/jenkins/)
### Others
- `docker pull jbenet/go-ipfs` - [IPFS](https://hub.docker.com/r/jbenet/go-ipfs/)
## Commands
I recommend reading the [Docker Cheat Sheet](https://github.com/wsargent/docker-cheat-sheet).
- `docker images` - list installed images
- `docker ps` - shows running containers
- `docker-machine active` - list active machines
- `docker-machine ip default` - get the IP from the default container## Examples
### Start Apache with http(s) and map htdocs folder
`docker run -p 80:80 -p 443:443 -v /Volumes/Daten/Daten/Programmierung/coding/docker/data/htdocs:/var/www/html/ -d eboraas/apache`
### Start Kali Linux with interactive bash Shell
```
docker pull kalilinux/kali-linux-docker
docker run -t -i kalilinux/kali-linux-docker /bin/bash
```### Contact / Social Media
*Get the latest News about Web Development, Open Source, Tooling, Server & Security*
[![Twitter](https://github.frapsoft.com/social/twitter.png)](https://twitter.com/frapsoft/)
[![Facebook](https://github.frapsoft.com/social/facebook.png)](https://www.facebook.com/frapsoft/)
[![Google+](https://github.frapsoft.com/social/google-plus.png)](https://plus.google.com/116540931335841862774)
[![Gitter](https://github.frapsoft.com/social/gitter.png)](https://gitter.im/frapsoft/frapsoft/)
[![Github](https://github.frapsoft.com/social/github.png)](https://github.com/ellerbrock/)### Development by
Developer / Author: [Maik Ellerbrock](https://github.com/ellerbrock/)
Company: [Frapsoft](https://github.com/frapsoft/)### License
This work by Maik Ellerbrock is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.