Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Docker image not fetchable #48

Closed
2 tasks done
silasb opened this issue Aug 23, 2022 · 4 comments
Closed
2 tasks done

Bug: Docker image not fetchable #48

silasb opened this issue Aug 23, 2022 · 4 comments
Assignees

Comments

@silasb
Copy link

silasb commented Aug 23, 2022

Describe the bug

It appears the Docker image is not public?

Steps to reproduce

docker run --pull --rm -p 8000:8000 surrealdb/surrealdb:latest start
docker: Error response from daemon: No such image: surrealdb/surrealdb:latest.
See 'docker run --help'.

Expected behaviour

docker run --pull --rm -p 8000:8000 surrealdb/surrealdb:latest start

To download the iamge

SurrealDB version

N/A

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@silasb silasb added the bug Something isn't working label Aug 23, 2022
@tobiemh
Copy link
Member

tobiemh commented Aug 23, 2022

Hi @silasb, this is very odd! The Docker image is definitely public on hub.docker.com. You should be able to see it here: https://hub.docker.com/r/surrealdb/surrealdb

Have you got any custom configuration which has changed the default/base Docker repository setup by any chance?

@tobiemh
Copy link
Member

tobiemh commented Aug 23, 2022

Ahhh @silasb if you run

docker pull surrealdb/surrealdb

first, and then run the command, does it then work?

@tobiemh
Copy link
Member

tobiemh commented Aug 23, 2022

This issue (incorrect initial Docker command in the documentation) should be fixed with #49.

We'll then need to change it in the documentation and the website.

@tobiemh tobiemh self-assigned this Aug 23, 2022
@tobiemh tobiemh added invalid and removed bug Something isn't working labels Aug 23, 2022
@tobiemh
Copy link
Member

tobiemh commented Aug 23, 2022

Hi @silasb we've updated the README, and the website so that the initial Docker command should now work.

What was happening is that the --pull argument fails if the docker image is not already downloaded (as opposed to updating it). By removing the --pull argument, the image is fetched if it does not exist, but is not updated each time it is run.

Therefore the following command can be used to run the Docker image:

docker run --rm -p 8000:8000 surrealdb/surrealdb:latest start

To update the Docker image (if there is a newer version), you can use:

docker pull surrealdb/surrealdb:latest

@tobiemh tobiemh closed this as completed Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants