bheisig / i-doit-docker

Dockerized i-doit CMDB
GNU Affero General Public License v3.0
25 stars 13 forks source link

NoIssue #1

Closed J-Beckmann closed 5 years ago

J-Beckmann commented 5 years ago

Need help

Hi, I don't understand how to use the docker files. When trying the given command, I get a permission errer, although i am logged in. As you can see in the first Part of the Console-Log the pull request with your repository works, but the run-command doesn't.

Server logs

root@debian9:/home/jan# docker pull  bheisig/idoit:1.13-pro-php7.3-apache
1.13-pro-php7.3-apache: Pulling from bheisig/idoit
fc7181108d40: Already exists
0e65236fc68a: Already exists
657b7ad8209d: Already exists
fe9abd6f2547: Already exists
3f3b3b58af14: Already exists
6c87b44c0319: Already exists
879171658515: Already exists
29c3b2e8a58a: Pull complete
c3a25239431e: Pull complete
12d528342619: Pull complete
9c2154884a2a: Pull complete
65330d5bd097: Pull complete
09bf81aa1690: Pull complete
51b06b672862: Pull complete
8e3891a5acf6: Pull complete
9f63ae12fd0c: Pull complete
533e8ba4d71c: Pull complete
64df962b8743: Pull complete
8c6f109d2fbc: Pull complete
Digest: sha256:241ea3a64b212e107ec3aaf5488573a3f0d0beba309252f40d341b3e9096ff36
Status: Downloaded newer image for bheisig/idoit:1.13-pro-php7.3-apache

root@debian9:/home/jan# docker run i-doit-apache -p 80:80 bheisig/idoit:1.13-pro-php7.3-apache
Unable to find image 'i-doit-apache:latest' locally
docker: Error response from daemon: pull access denied for i-doit-apache, repository does not exist or may require 'docker login'.
See 'docker run --help'.
bheisig commented 5 years ago

Hi,

option --name is missing. This should work:

docker run --name i-doit-apache -p 80:80 bheisig/idoit:1.13-pro-php7.3-apache

I fixed the documentation.

Please keep in mind, that this won't work without a running MariaDB/MySQL instance. The docker-compose part in the README.md gives some hints.