docker stop my_container

docker container stop my_container

docker build -t dsysfront . #dockerfile to image
docker build -t dsysback . #dockerfile to image

docker ps #show runnign containers

docker system prune -a # löscht alles

docker image ls

docker logs frontend

docker exec -it frontend sh

#configure postgress
docker exec -it database psql -U dsysusr -d sftpdb
    select * from groups;
    select * from files;
    delete from files;
    delete from groups;
    INSERT INTO groups (groupID, groupName) VALUES ('qcpquw', 'default');


#Docker Compose
docker compose build
docker compose down
docker compose up -d


Links:
https://pratikpc.medium.com/use-docker-compose-named-volumes-as-non-root-within-your-containers-1911eb30f731


asdf | ShojrI