Skip to content

Docker commands

Király Péter edited this page Mar 14, 2024 · 2 revisions

Once you have a running instance named metadata-qa-marc...

The root directory of QA catalogue backend is /opt/qa-catalogue/.

The root directory of QA catalogue frontend is /var/www/html/qa-catalogue/.

enter the shell

docker container exec -ti metadata-qa-marc /bin/bash

list the content of the QA catalogue directory

docker container exec -ti metadata-qa-marc ls -la

copy a file from the current directory on the host (local machine) to docker

docker container cp myfile.txt metadata-qa-marc:/opt/qa-catalogue/setdir.sh

copy a file from docker container to the current directory of the host (local machine)

docker container cp metadata-qa-marc:/opt/qa-catalogue/setdir.sh .
Clone this wiki locally