Last active
          May 13, 2019 15:05 
        
      - 
      
- 
        Save Staggerlee011/6633927c3b3a53b246c08ff281461428 to your computer and use it in GitHub Desktop. 
    Databases in Docker
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ## SQL Server Linux | |
| docker run --name sqlserver -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Pa$$w0rd' -p 1433:1433 -d microsoft/mssql-server-linux | |
| ## SQL Server Windows | |
| docker run --name sqlserver -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Pa$$w0rd' -p 1433:1433 -d microsoft/mssql-server-windows-developer | |
| ## Postgres | |
| docker run --name postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres | |
| ## Neo4j (connect via http://localhost:7474 with U/P neo4j/neo4j | |
| docker run -p=7474:7474 -p=7687:7687 -d neo4j | |
| ## MongoDB (No user / password set! login with compass using localhost port 27017) | |
| docker run --name my-mongo -p 27017:27017 -d mongo | |
| ## MongoDB with user and passwor set!) | |
| docker run -d --name some-mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=secret mongo | |
| ## Redis | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment