Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: phpdoc and docker Date: Tue, 12 Jul 2022 19:51:49 +0200 Lines: 32 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net e0CifCobINj4mmaIorIEaA8GWTdXOYvqjqhDtlrTzZGTQfEFVb Cancel-Lock: sha1:oJxXx4BMDUlEOfrG5vo4wPhSY6U= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-US-large In-Reply-To: Xref: csiph.com comp.lang.php:19058 On 12/07/2022 17.32, Tommy wrote: > Il 12/07/22 17:05, J.O. Aho ha scritto: >> On 12/07/2022 12.52, Tommy wrote: >>> $ docker run --rm -v ${PWD}:/data phpdoc/phpdoc:3 >>> docker: Cannot connect to the Docker daemon at >>> unix:///$HOME/.docker/desktop/docker.sock. Is the docker daemon >>> running?. >>> See 'docker run --help'. >>> >>> Why? >> >> Docker requires the docker service to be up and running before you can >> use the command line to execute things. This for the docker service >> will do things for you that you don't have access to do as an >> unprivileged user, as long as you are in the docker group. >> >> This has little to do with PHP, if you need more assistance you should >> look at a Linux newsgroup to get help to start your docker service. >> > > I restarted the system, but it still doesn't work For the service hasn't been enabled, see this documentation: https://developer.fedoraproject.org/tools/docker/docker-installation.html sure you may use another distro than Fedora, but most distros uses systemd, so it's the same if you look at "Start the Docker daemon at boot" -- //Aho