Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Docker (intro)
- Base principles of Docker (image vs. container,... ) and Docker compose
- DEMO: Using Docker to start a mssql database and restore (current) openIMIS backup
- Configuring Microsoft Docker image in Docker-container yml file (mounting volumes,...)
- Trigger image download and launch container:
docker-compose up imis-db
- List running containers:
docker container ls
- Connect to docker:
docker exec -it openimis-poc_imis-db_1 /bin/bash
- ... and, within the docker, restore database:
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -Q "RESTORE DATABASE [demo] FROM DISK = N'/bck/demo.bak' WITH REPLACE, MOVE 'CH_CENTRAL' TO '/data/DEMO.mdf', MOVE 'CH_CENTRAL_log' TO '/data/DEMO_LOG.ldf'"
"All proxy" modularized Front configuration