Open MrGlitchWasTaken opened 1 month ago
you install docker? what is your os? what is the command (in full)?
you install docker? what is your os? what is the command (in full)?
i installed docker on macos
you install docker? what is your os? what is the command (in full)?
i clicked the download for mac apple silicon
what was the command
what was the command
i just clicked the download button
what was the command
i just clicked the download button
the command you ran to start the mercury site not the docker installer
what was the command
i just clicked the download button
the command you ran to start the mercury site not the docker installer
ah. I ran "docker compose up -d"
what was the output of said command
also are you sure its docker compose up -d
and not docker-compose up -d
if so then run docker-compose up -d
instead
what was the output of said command
also are you sure its
docker compose up -d
and notdocker-compose up -d
if so then rundocker-compose up -d
instead
"command not found docker" and "command not found docker-compose"
did you install docker and open a new terminal window? if not then the old path (if that exists on macos idk) might of not changed
did you install docker and open a new terminal window? if not then the old path (if that exists on macos idk) might of not changed
i tried running "docker compose up -d" on the docker terminal and it displays " ✘ surreal Error Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/man... 1.2s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password"
have you not set up the .env? read the docs in the source
have you not set up the .env? read the docs in the source
i did what you said in the previous issue. I renamed .env.example to .env
yeah but i assumed you took the time to edit it
yeah but i assumed you took the time to edit it
soo how do i fix the problem
i dont think you know what you are doing, if you cant set up a env file properly you probably wont be able to patch a client sorry
i dont think you know what you are doing, if you cant set up a env file properly you probably wont be able to patch a client sorry
you said to rename it to .env so i did
please read the setup guide for mecurycore
please read the setup guide for mecurycore
i did. i couldnt find the .env file to copy .env.example to so i asked about it on an issue and you replied to rename to .env so i did
Setting up with the .env file shouldn't be required for Docker to work correctly. On Apple silicon, docker compose V1 with the docker-compose
command doesn't work, so trying V2 with docker compose
is the right move. Alternatively on MacOS you could install docker with a package manager like Homebrew.
did you install docker and open a new terminal window? if not then the old path (if that exists on macos idk) might of not changed
i tried running "docker compose up -d" on the docker terminal and it displays " ✘ surreal Error Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/man... 1.2s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password"
Seems like Docker is installed correctly now! The problem seems to be a common one with pulling images from container registries.
docker run hello-world
command work?docker compose pull
in the repository or any of its subfolders to download the database image?docker logout
to fix the invalid credentials error? I'm not sure if this would work because you shouldn't need to be logged in to download the images.Setting up with the .env file shouldn't be required for Docker to work correctly. On Apple silicon, docker compose V1 with the
docker-compose
command doesn't work, so trying V2 withdocker compose
is the right move. Alternatively on MacOS you could install docker with a package manager like Homebrew.did you install docker and open a new terminal window? if not then the old path (if that exists on macos idk) might of not changed
i tried running "docker compose up -d" on the docker terminal and it displays " ✘ surreal Error Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/man... 1.2s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password"
Seems like Docker is installed correctly now! The problem seems to be a common one with pulling images from container registries.
- Does the basic
docker run hello-world
command work?- Does the same issue occur when running
docker compose pull
in the repository or any of its subfolders to download the database image?- If you're using docker desktop, try running
docker logout
to fix the invalid credentials error? I'm not sure if this would work because you shouldn't need to be logged in to download the images.
The docker run hello-world
command brings up with the following error:
Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Head "https://registry-1.docker.io/v2/library/hello-world/manifests/latest": unauthorized: incorrect username or password. See 'docker run --help'.
docker compose pull
brings up:
[+] Pulling 2/2 ✔ economy Skipped - No image to be pulled 0.0s ✘ surreal Error Head "https://registry-1.docker.io/... 0.5s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password
Setting up with the .env file shouldn't be required for Docker to work correctly. On Apple silicon, docker compose V1 with the
docker-compose
command doesn't work, so trying V2 withdocker compose
is the right move. Alternatively on MacOS you could install docker with a package manager like Homebrew.did you install docker and open a new terminal window? if not then the old path (if that exists on macos idk) might of not changed
i tried running "docker compose up -d" on the docker terminal and it displays " ✘ surreal Error Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/man... 1.2s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password"
Seems like Docker is installed correctly now! The problem seems to be a common one with pulling images from container registries.
- Does the basic
docker run hello-world
command work?- Does the same issue occur when running
docker compose pull
in the repository or any of its subfolders to download the database image?- If you're using docker desktop, try running
docker logout
to fix the invalid credentials error? I'm not sure if this would work because you shouldn't need to be logged in to download the images.The
docker run hello-world
command brings up with the following error:
Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Head "https://registry-1.docker.io/v2/library/hello-world/manifests/latest": unauthorized: incorrect username or password. See 'docker run --help'.
docker compose pull
brings up:
[+] Pulling 2/2 ✔ economy Skipped - No image to be pulled 0.0s ✘ surreal Error Head "https://registry-1.docker.io/... 0.5s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password
Like heliodex suggests, you should try running docker logout and see if that fixes it
Setting up with the .env file shouldn't be required for Docker to work correctly. On Apple silicon, docker compose V1 with the
docker-compose
command doesn't work, so trying V2 withdocker compose
is the right move. Alternatively on MacOS you could install docker with a package manager like Homebrew.did you install docker and open a new terminal window? if not then the old path (if that exists on macos idk) might of not changed
i tried running "docker compose up -d" on the docker terminal and it displays " ✘ surreal Error Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/man... 1.2s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password"
Seems like Docker is installed correctly now! The problem seems to be a common one with pulling images from container registries.
- Does the basic
docker run hello-world
command work?- Does the same issue occur when running
docker compose pull
in the repository or any of its subfolders to download the database image?- If you're using docker desktop, try running
docker logout
to fix the invalid credentials error? I'm not sure if this would work because you shouldn't need to be logged in to download the images.The
docker run hello-world
command brings up with the following error:Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Head "https://registry-1.docker.io/v2/library/hello-world/manifests/latest": unauthorized: incorrect username or password. See 'docker run --help'.
docker compose pull
brings up:[+] Pulling 2/2 ✔ economy Skipped - No image to be pulled 0.0s ✘ surreal Error Head "https://registry-1.docker.io/... 0.5s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password
Like heliodex suggests, you should try running docker logout and see if that fixes it
I actually did and nothing was fixed...
The
docker run hello-world
command brings up with the following error:
Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Head "https://registry-1.docker.io/v2/library/hello-world/manifests/latest": unauthorized: incorrect username or password. See 'docker run --help'.
docker compose pull
brings up:
[+] Pulling 2/2 ✔ economy Skipped - No image to be pulled 0.0s ✘ surreal Error Head "https://registry-1.docker.io/... 0.5s Error response from daemon: Head "https://registry-1.docker.io/v2/surrealdb/surrealdb/manifests/v1.5.4": unauthorized: incorrect username or password
Docker support forums seem to state that this is either a problem with being not logged into an account (it isn't, you shouldn't need to be logged in to pull images from public registries) or a problem with access through TLS/HTTPS. I've had the exact same problem before and can't recall how I resolved it.
Either way, I've created #346 for if your difficulties with docker remain unresolved, so you can use Mercury Core more easily without problems. Yours is not an isolated incident and I've had a few other messages from people having trouble with setting up Docker.
The README now includes instructions for running without Docker, though it requires starting two separate processes I hope it's an okay workaround for now.
Describe the bug
My terminal says command not found docker when I run the last step in the instructions
Reproduction
Expected behaviour
do whatever the command does
Logs
No response
System info
Bun 1.1.27