snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.86k stars 3.14k forks source link

Unable to find image 'snipeit:latest' locally #8635

Open baditaflorin opened 3 years ago

baditaflorin commented 3 years ago

I did docker stop snipeit And when I try to run it again I get this error.


docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                       PORTS                                                NAMES
6c4bb0b74d08        snipe/snipe-it      "/startup.sh"            25 minutes ago      Exited (128) 5 minutes ago   80/tcp, 443/tcp, 0.0.0.0:6000->6001/tcp              snipeit
408faf47ca15        mysql:5.6           "docker-entrypoint.sā€¦"   31 minutes ago      Exited (0) 5 minutes ago                                                          snipe-mysql
root@machine:/ docker run snipeit
Unable to find image 'snipeit:latest' locally
docker: Error response from daemon: pull access denied for snipeit, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.```
welcome[bot] commented 3 years ago

šŸ‘‹ Thanks for opening your first issue here! If you're reporting a šŸž bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

baditaflorin commented 3 years ago

I also have nextcloud installed so port 80 and 443 are reserved for this, not sure if this could be part of the problem.

kubiani commented 3 years ago

This looks like a docker related command issue. The correct command if you just want to restart your container from a stopped state is docker start snipeit based on the name of your container. docker run is trying to start a new container from an image.