have an issue in first step in your tutorial:
https://grandnode.com/grandnode-and-mongodb-in-a-3-minutes-the-fastest-installation-with-docker
When I try to excuse this command:
docker run -d -p 127.0.0.1:27017:27017 --name mongodb mongo
it says:
"docker run" requires at least 1 argument.
See 'docker run --help'.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
Any help here please, thanks
"docker run" requires at least 1 argument + Run a command in a new container
Monday, November 25, 2024 5:41:03 PM
Hi Mohamed,
You probably ran command docker pull grandnode and the daemon didn't find the GrandNode image, because you need to specify tag, i.e docker pull grandnode/develop.
In the case of your first command. Please try to delete unused containers and run it again. You need to remember that if you have installed MongoDB manually on 27017 port, you have to use different port while use the docker run -d -p 127.0.0.1:27017:27017 --name mongodb mongo command.
Please look at the example below, I used the same command and it worked as expected:
You probably ran command docker pull grandnode and the daemon didn't find the GrandNode image, because you need to specify tag, i.e docker pull grandnode/develop.
In the case of your first command. Please try to delete unused containers and run it again. You need to remember that if you have installed MongoDB manually on 27017 port, you have to use different port while use the docker run -d -p 127.0.0.1:27017:27017 --name mongodb mongo command.
Please look at the example below, I used the same command and it worked as expected:
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0
I've used Mac Terminal for the first time and did not work, but it worked with Windows CMD.
Now i have an issue with:
docker run -d -p 80:80 --name grandnode --link mongodb:mongo grandnode/release_4.10
Where it says:
Unable to find image 'grandnode/release_4.10:latest' locally
docker: Error response from daemon: pull access denied for grandnode/release_4.10, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Now i have an issue with:
docker run -d -p 80:80 --name grandnode --link mongodb:mongo grandnode/release_4.10
Where it says:
Unable to find image 'grandnode/release_4.10:latest' locally
docker: Error response from daemon: pull access denied for grandnode/release_4.10, repository does not exist or may require 'docker login'.
See 'docker run --help'.
0