Giter VIP home page Giter VIP logo

docker-development-environments's Introduction

Development Environment with Docker

Quickly Set-up your development environment with docker. All containers are temporary, no volume mounted, if you want to persistent containers see how to mount volume to containers.

Table of contents:


Databases

SQL Server

Original Windows Version:

docker run --name tmp-sqlserver --restart unless-stopped -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=12345678Aa' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-CU8-ubuntu

SqlServer Linux Version:

docker run --name tmp-sqlserver -d --restart unless-stopped -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=12345678Aa' -p 1433:1433 microsoft/mssql-server-linux

Azure-Sql for Apple M1 (Silicon)

docker run --name tmp-sqlserver --restart unless-stopped -d --cap-add SYS_PTRACE -e 'ACCEPT_EULA=1' -e 'MSSQL_SA_PASSWORD=12345678Aa' -p 1433:1433 mcr.microsoft.com/azure-sql-edge
  • Then go your management IDE and try to connect to localhost:1433 with username: SA and password: 12345678Aa

PostgreSQL

docker run --name tmp-postgres --restart unless-stopped -e POSTGRES_PASSWORD=12345678Aa -p 5432:5432 -d postgres
  • Then go your management IDE and try to connect to localhost:5432 with username: postgres and password: 12345678Aa

MySql

docker run --name tmp-mysql --restart unless-stopped -e 'MYSQL_ROOT_PASSWORD=12345678Aa' -p 3306:3306 -d mysql:5.7

For Apple M1 (Silicon)

docker run --name tmp-mysql --restart unless-stopped -e 'MYSQL_ROOT_PASSWORD=12345678Aa' -p 3306:3306 --platform linux/x86_64 -d mysql:5.7
  • Then open management IDE and try to connect to localhost:3306 with username: root and password: 12345678Aa

MongoDB

docker run --name tmp-mongo --restart unless-stopped -p 27017:27017 -d mongo:latest
  • Then go your NoSQL Management IDE and try to connect to localhost:27017 without any credentials.

Distributed Caches

Redis

docker run --name tmp-redis -p 6379:6379 -d --restart unless-stopped redis

Event Bus

RabbitMQ

docker run --name tmp-rabbitmq -d --restart unless-stopped -p 15672:15672 -p 5672:5672 rabbitmq:3-management
  • Go localhost:15672 to check is rabbitmq dashboard works properly.

  • Default login credentials: username: guest password: guest

docker-development-environments's People

Contributors

enisn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.