https://hub.docker.com/ Find Image List here
-
docker run sqlserver //pull image if not exists and run
- docker ps (-a) // all running containers
- docker stop containername
- docker rm containername //delete contaner
- docker pull imagename
-
docker image ls // list
-
docker run -d --name dkrpostgres -e POSTGRES_PASSWORD=1212 -e PGDATA=/var/lib/postgresql/data/pgdata -v D:\dockerData\postgresql\data:/var/lib/postgresql/data -p 5432:5432 postgres
-
docker run -d --name dcr-redis -p 6379:6379 redis
-
docker run --name dkrsqlServer -e "ACCEPT_EULA=Y" -e 'SA_PASSWORD=ComplexSqlPW2019!' -e 'MSSQL_PID=Express' -p 1433:1433 -v D:\dockerData\sql\data:/var/opt/mssql/data -v D:\dockerData\sql\log:/var/opt/mssql/log -v D:\dockerData\sql\secrets:/var/opt/mssql/secrets -d mcr.microsoft.com/mssql/server:2017-latest
-
docker run --name mysql-percona -p 3306:3306 -v D:\dockerData\percona\data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=sql1212 -d percona