Kategorie: Docker
-
Docker data in ein anderes Verzeichnis verschieben
Quelle: https://mrkandreev.name/snippets/how_to_move_docker_data_to_another_location/ The standard data location used for docker is /var/lib/docker. Because this directory contains all containers/images/volumes, it can be large. So you no need to store this in OS Volume when you can use separate data volume. 1. Stop daemon 2. Add configuration file with location of new data directory Create/Edit /etc/docker/daemon.json file: 3. Copy docker files…
-
SQL Server in Docker unter MacOs auf M1
-
Docker-Schmierzettel
bash in Container docker exec -it –user root MSSQL2019 „bash“ bspw. MSSQL-Server starten docker run –name „MSSQL2019“ -e „ACCEPT_EULA=Y“ -e „SA_PASSWORD=GEHEIM“ -e „MSSQL_PID=Express“ -v d:\mssql\data:/var/opt/mssql/data -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest