Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19055 > unrolled thread
| Started by | Tommy <ba@ve.net> |
|---|---|
| First post | 2022-07-12 12:52 +0200 |
| Last post | 2022-09-22 07:14 -0700 |
| Articles | 6 — 3 participants |
Back to article view | Back to comp.lang.php
phpdoc and docker Tommy <ba@ve.net> - 2022-07-12 12:52 +0200
Re: phpdoc and docker "J.O. Aho" <user@example.net> - 2022-07-12 17:05 +0200
Re: phpdoc and docker Tommy <ba@ve.net> - 2022-07-12 17:32 +0200
Re: phpdoc and docker "J.O. Aho" <user@example.net> - 2022-07-12 19:51 +0200
Re: phpdoc and docker Tommy <ba@ve.net> - 2022-07-12 22:08 +0200
Re: phpdoc and docker "He, who travels time to time" <he1983912@aol.com> - 2022-09-22 07:14 -0700
| From | Tommy <ba@ve.net> |
|---|---|
| Date | 2022-07-12 12:52 +0200 |
| Subject | phpdoc and docker |
| Message-ID | <tajjp5$1fjk$1@gioia.aioe.org> |
$ 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?
[toc] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2022-07-12 17:05 +0200 |
| Message-ID | <jj5gtmFc4j7U1@mid.individual.net> |
| In reply to | #19055 |
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.
--
//Aho
[toc] | [prev] | [next] | [standalone]
| From | Tommy <ba@ve.net> |
|---|---|
| Date | 2022-07-12 17:32 +0200 |
| Message-ID | <tak471$18e5$2@gioia.aioe.org> |
| In reply to | #19056 |
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
$ cat phpdoc.dist.xml
<?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor
configVersion="3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://www.phpdoc.org"
xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"
>
<paths>
<output>build/api</output>
<cache>build/cache</cache>
</paths>
<version number="3.0.0">
<api>
<source dsn=".">
<path>src</path>
</source>
</api>
</version>
</phpdocumentor>
$ docker run --rm -v ${PWD}:/data phpdoc/phpdoc:3 | head -n6
Description:
Parses and transforms the given files to a specified location
Usage:
project:run [options]
run
write /dev/stdout: broken pipe
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2022-07-12 19:51 +0200 |
| Message-ID | <jj5qlmFdmfsU1@mid.individual.net> |
| In reply to | #19057 |
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
[toc] | [prev] | [next] | [standalone]
| From | Tommy <ba@ve.net> |
|---|---|
| Date | 2022-07-12 22:08 +0200 |
| Message-ID | <takkbb$1b4g$1@gioia.aioe.org> |
| In reply to | #19058 |
Il 12/07/22 19:51, J.O. Aho ha scritto:
>
> 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"
>
Ma adesso docker funziona.
È phpdoc a dare problemi.
Sorry, I'm Italian and I struggle to speak English.
If you can translate with this
https://translate.google.it/?sl=it&tl=en&op=translate
[toc] | [prev] | [next] | [standalone]
| From | "He, who travels time to time" <he1983912@aol.com> |
|---|---|
| Date | 2022-09-22 07:14 -0700 |
| Message-ID | <1eca7132-99ca-42cc-98b6-eab81dabef6en@googlegroups.com> |
| In reply to | #19055 |
Hey... Want to talk? Call me.... My telephone number >>>>
(+372) 56330687
Tommy kirjutas Teisipäev, 12. juuli 2022 kl 13:52:31 UTC+3:
> $ 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?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web