Problem following the docker instructions #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi I went through all the steps and the last step had an error. It's a new install of Ubuntu 22.04.3 LTS server and the only command is "sudo snap install docker" to install docker before getting into your README steps.
root@fastapidls:/opt/docker/fastapi-dls/cert# docker volume create dls-db
dls-db
root@fastapidls:/opt/docker/fastapi-dls/cert# docker run -e DLS_URL=
hostname -i
-e DLS_PORT=443 -p 443:443 -v $WORKING_DIR:/app/cert -v dls-db:/app/database collinwebdesigns/fastapi-dls:latestdocker: Error response from daemon: error while creating mount source path '/opt/docker/fastapi-dls/cert': mkdir /opt/docker: read-only file system.
ERRO[0000] error waiting for container: context canceled
UPDATE: it is because docker when installed via snap only has access to the user's home directory. Changing WORKING_DIR=/home/vmware/fastapi-dls
fixed it
source: https://stackoverflow.com/questions/45764477/docker-compose-error-while-creating-mount-source-path