Closed chrisatta closed 6 months ago
There are two issues here:
docker cp
command you refer to the container as mongoosepush
but you haven't give it such name when starting it (hence the docker runtime should give it some random name) - please add an option --name mongoosepush
to your docker run
commandsys.config
file is located at /opt/app/releases/<release version>/sys.config
when i run docker run -h mongoosepush -p 8443:8443 -v
pwd
/priv:/opt/app/priv -e PUSH_HTTPS_CERTFILE="/opt/app/priv/ssl/rest_cert.pem" -e PUSH_HTTPS_KEYFILE="/opt/app/priv/ssl/rest_key.pem" -e PUSH_APNS_ENABLED=0 -it --rm mongooseim/mongoose-push:latestand run docker cp mongoosepush:/opt/app/var/sys.config sys.config
i have this error Error: No such container:path: mongoosepush:/opt/app/var/sys.config