Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivanclay/devops-docker-challenge

Docker challenge commands
https://github.com/ivanclay/devops-docker-challenge

Last synced: 25 days ago
JSON representation

Docker challenge commands

Awesome Lists containing this project

README

        

# devops-docker-challenge
Docker challenge commands

Challenge 01 -> PostgreSQL

docker container run -d -p 5432:5432 -e POSTGRES_DB=curso_docker -e POSTGRES_USER=docker_usr -e POSTGRES_PASSWORD=docker_pwd postgres

Challenge 02 -> MySQL

docker container run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD="root1234" -e MYSQL_DATABASE=docker_db -e MYSQL_USER=docker_usr -e MYSQL_PASSWORD=docker_pwd mysql

Challenge 03 -> MongoDB

docker run -d -e MONGO_INITDB_ROOT_USERNAME=mongo_usr -e MONGO_INITDB_ROOT_PASSWORD=mongo_pwd mongo