question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dockerhub build doesn't seem to work

See original GitHub issue

🪲 Describe the bug

I used the following to pull the image from dockerhub, getting a lot of 404 not found for scripts and logos. I am little unclear why, my expectation is the container published is self contained.

version: '3.8'

services:
  apprise:
    image: caronc/apprise:latest
    ports:
      - 8050:8080
    user: "www-data:www-data"
    volumes:
#      - data:/opt/apprise/webapp:ro               # i tried with this both commented and uncommented - didn't seem to make a difference
#     ./config:/config:rw                                    # i chose to run without config file to just play
      
volumes:
  data:
    driver: gluster-vol1 
    

💡 Screenshots and Logs

2022-02-16 23:38:34,553 INFO Set uid to user 33 succeeded
2022-02-16 23:38:34,554 INFO supervisord started with pid 1
2022-02-16 23:38:35,558 INFO spawned: 'gunicorn' with pid 7
2022-02-16 23:38:35,561 INFO spawned: 'nginx' with pid 8
[2022-02-16 23:38:36 +0000] [7] [INFO] Starting gunicorn 20.1.0
[2022-02-16 23:38:36 +0000] [7] [INFO] Listening at: http://0.0.0.0:8080 (7)
[2022-02-16 23:38:36 +0000] [7] [INFO] Using worker: sync
[2022-02-16 23:38:36 +0000] [12] [INFO] Booting worker with pid: 12
[2022-02-16 23:38:36 +0000] [13] [INFO] Booting worker with pid: 13
[2022-02-16 23:38:36 +0000] [14] [INFO] Booting worker with pid: 14
[2022-02-16 23:38:36 +0000] [15] [INFO] Booting worker with pid: 15
[2022-02-16 23:38:36 +0000] [16] [INFO] Booting worker with pid: 16
2022-02-16 23:38:37,242 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-02-16 23:38:37,242 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-02-16 17:38:52,307 [WARNING] django.request: Not Found: /s/js/materialize.min.js
2022-02-16 17:38:52,309 [WARNING] django.request: Not Found: /s/js/sweetalert2.all.min.js
2022-02-16 17:38:52,313 [WARNING] django.request: Not Found: /s/logo.png
2022-02-16 17:38:52,672 [WARNING] django.request: Not Found: /s/iconfont/MaterialIcons-Regular.woff2

💻 Your System Details: you latest docker container running on latest docker

Client:
 Version:           20.10.5+dfsg1
 API version:       1.41
 Go version:        go1.15.15
 Git commit:        55c4c88
 Built:             Sat Dec  4 10:53:03 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.5+dfsg1
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.15.15
  Git commit:       363e9a8
  Built:            Sat Dec  4 10:53:03 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12~ds1
  GitCommit:        1.4.12~ds1-1~deb11u1
 runc:
  Version:          1.0.0~rc93+ds1
  GitCommit:        1.0.0~rc93+ds1-5+b2
 docker-init:
  Version:          0.19.0
  GitCommit:        

🔮 Additional context 100% easy using the stack/compose i provided I am wondering if looking at the examples this assumes I am running a whole bunch of the web interface from a mount - which seems really odd, i think i am missing something here, this doesn’t seem like a self container container?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
scytocommented, Feb 18, 2022

I used the following to pull the image from dockerhub, getting a lot of 404 not found for scripts and logos. I am little unclear why, my expectation is the container published is self contained.

so here is the wild part, these symptoms was actually caused by a new hyper-v feature affecting the docker swarm ingress network running on my ubuntu VMS! for some reason this app exhibit not found issues, whereas other apps were just really slow (grafana, portainer, etc). just logging reason for issue for posterity.

1reaction
martadinata666commented, Feb 18, 2022

So i tried for test, it work, your deployment seems use port 8080 it should be 8000

#docker run --name apprise \
#   -p 8000:8000 \
#   -v /var/lib/apprise/config:/config \
#   -d caronc/apprise:latest
version: "3.8"
services:
  api:
    image: caronc/apprise:latest
    volumes:
      - config:/config
    ports:
      - 25000:8000

volumes:
  config:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Hub build does not start on newly pushed GitHub tag
I have tried different build rule settings. I have tried pushing different tags to GitHub (only plain tags, not annotated tags).
Read more >
Autobuild doesn't work - Docker Hub
I created a new repository on GitHub, then a new repository on Docker Hub and connected the GitHub repository to it with the...
Read more >
Docker hub/store doesn't show build information
Docker hub /store doesn't show build information ... I'm having problems with docker continuous integration. I setup automated builds in cloud.
Read more >
Configure automated builds on Docker Hub
To use automated builds, you must have an account on Docker Hub and on the hosted repository provider (GitHub or Bitbucket). If you...
Read more >
Docker file from dockerhub is not working as expected
I tried to use docker file from dockerhub to create pingdirectory service image but its not working as it is also no proper...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found