site restore error - 'docker: invalid reference format'
See original GitHub issueDescription of the issue
I’m trying to restore a site by running the below command as mentioned in the docs:
docker run -e "MYSQL_ROOT_PASSWORD=admin" -e "BUCKET_NAME=backups" -e "BUCKET_DIR=frappe-bench" -v custom_frappe_docker_sites-vol:/home/frappe/frappe-bench/sites -v ./backups:/home/frappe/backups --network custom_frappe_docker_default frappe/frappe-worker:$FRAPPE_VERSION restore-backup
but I’m getting this error:
docker: invalid reference format
Context information (for bug reports)
Steps to reproduce the issue
- Copy the backup files in the mounted volume
- Run the command to restore the site from the backups folder
- Observe the issue
Observed result
docker: invalid reference format
Expected result
Should be able to restore the site from the backup files
Stacktrace / full error message if available
bash$ docker run -e "MYSQL_ROOT_PASSWORD=admin" -e "BUCKET_NAME=backups" -e "BUCKET_DIR=frappe-bench" -v custom_frappe_docker_sites-vol:/home/frappe/frappe-bench/sites -v custom_frappe_docker_sites-vol:/home/frappe/backups --network custom_frappe_docker_default frappe/frappe-worker:${FRAPPE_VERSION} restore-backup
docker: invalid reference format.
See 'docker run --help'.
note:
I didn’t built the containers using the --project-name
, instead I built the containers by running this: docker compose up
Should I be doing something else?
CC: @revant
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
error: docker: invalid reference format. · Issue #1 - GitHub
Hi there, I'm trying to run blobtoolkit in a docker container locally by modifying your suggested code. Here's what I'm entering: docker run...
Read more >How to fix docker error invalid reference format error? - Jhooq
In this blog post we will look on ways to fix the docker error invalid reference format error. If you look at the...
Read more >Docker-compose error: invalid reference format - Stack Overflow
It turns out that by repository it meant 'service'. I updated service name as show bellow and it works.
Read more >How to fix 'docker: invalid reference format.' - TechOverflow
Solution: Docker is telling you that the syntax of the docker image name (& version) is wrong. Note that this is not the...
Read more >failed to build: Error parsing reference: "microsoft/aspnetcore ...
Hi, I got this error when running vsts build using Hosted Linux Preview build agent. The same dockerfile works fine 3 days before....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yes. you can do that manually or use
bench set-config
commandthank you @revant for these insights.
should I update site config also manually?