Hello Maarrk,

We got your report and confirmed that in newer versions of Docker compose the 
error you describe is being thrown. So we applied your patch and updated the 
docs.

Thanks for you report.


---

** [tickets:#8488] Incorrect name of web docker image in compose files**

**Status:** open
**Milestone:** unreleased
**Labels:** install 
**Created:** Wed Jan 04, 2023 12:39 AM UTC by Maarrk
**Last Updated:** Wed Jan 04, 2023 12:39 AM UTC
**Owner:** nobody
**Attachments:**

- 
[allura-web.patch](https://forge-allura.apache.org/p/allura/tickets/8488/attachment/allura-web.patch)
 (1.8 kB; text/x-patch)


When following steps in the [Installation 
manual](https://forge-allura.apache.org/docs/getting_started/installation.html#first-run)
 the following command:
```
docker compose run taskd paster setup-app docker-dev.ini
```
produces this output:
```
[+] Running 0/1
 ⠿ outmail Error                                                                
                                                                                
       2.9s
Error response from daemon: pull access denied for allura_web, repository does 
not exist or may require 'docker login': denied: requested access to the 
resource is denied
```

But when I consult the Images list in Docker, I can see `allura-web`

It seems to me that the image `allura_web` should be named `allura-web` in the 
`docker-compose[-prod].yml` files. These are the only files where I could find 
the pattern `allura[\-_]web`. After replacing underscore with hyphen, I was 
able to complete the instructions and connect to a working instance.

I'd be happy to contribute a fix, but since I didn't find any other ticket 
mentioning this issue, maybe it is specific to my setup?

-----

In case this is some recent change in the Docker, I am attaching detailed 
versions for everything that seems relevant.

```
$ lsb_release -drc
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy
```

```
$ docker version
Client: Docker Engine - Community
 Cloud integration: v1.0.29
 Version:           20.10.22
 API version:       1.41
 Go version:        go1.18.9
 Git commit:        3a2c30b
 Built:             Thu Dec 15 22:28:04 2022
 OS/Arch:           linux/amd64
 Context:           desktop-linux
 Experimental:      true

Server: Docker Desktop 4.15.0 (93002)
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 18:00:19 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.10
  GitCommit:        770bd0108c32f3fb5c73ae1264f7e503fe7b2661
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
```

Compose: v2.13.0


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to