середа, 12 лютого 2020 р.

Docker

1. Show docker settings.

docker info

- Play with Dicker

1. Put "C:\ProgramData\Docker" on a different drive.

To save free space on your system hard drive, just create/modify the C:\ProgramData\Docker\config\daemon.json file as referenced in the getting started guide here.

{
"graph": "F:\\ProgramData\\Docker"
}

This will put all your images, layers and containers in a different location but leave the config in its original location.
Source

2. Install Microsoft SQL Server.

3. Run SQL Server.

docker run -d -p <HostEnvironmentIP>:<InContainerIP> -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourPassword>" --name sql1 microsoft/mssql-server-windows-express


Немає коментарів:

Дописати коментар