-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Description of problem
There're lots of dangling images left behind on each deployment.
Steps to Reproduce
- create app
- deploy via dokku git:from-image
- run docker images ls -a
Actual Results
Presence of unused images.
Expected Results
Only keep active images - remove everything else to save up disk space.
Environment Information
dokku report APP_NAME output
root@integ:~# dokku report microservices-netsuite-api
-----> uname: Linux integ 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 981 402 104 1 474 430
Swap: 0 0 0
-----> docker version:
Client: Docker Engine - Community
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:02:52 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.13
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:01:20 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.7
GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
-----> docker daemon info:
Client:
Debug Mode: true
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 25
Server Version: 19.03.13
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.4.0-52-generic
Operating System: Ubuntu 20.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 981.3MiB
Name: integ
ID: PEEB:CHZO:EMP7:XJR5:2ZB7:QM5F:TPDW:PHRP:MO73:X7YR:V5PN:LJDA
Docker Root Dir: /var/lib/docker
Debug Mode: false
Username: ricoma
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
-----> git version: git version 2.25.1
-----> sigil version: 0.6.0
-----> herokuish version:
herokuish: 0.5.30
buildpacks:
heroku-buildpack-multi v1.0.0
heroku-buildpack-ruby v228
heroku-buildpack-nodejs v185
heroku-buildpack-clojure v87
heroku-buildpack-python v197
heroku-buildpack-java v69
heroku-buildpack-gradle v35
heroku-buildpack-scala v90
heroku-buildpack-play v26
heroku-buildpack-php v196
heroku-buildpack-go v153
buildpack-nginx v14
buildpack-null v3
-----> dokku version: dokku version 0.25.4
-----> plugn version: plugn: 0.5.0
-----> dokku plugins:
00_dokku-standard 0.25.4 enabled dokku core standard plugin
20_events 0.25.4 enabled dokku core events logging plugin
app-json 0.25.4 enabled dokku core app-json plugin
apps 0.25.4 enabled dokku core apps plugin
builder 0.25.4 enabled dokku core builder plugin
builder-dockerfile 0.25.4 enabled dokku core builder-dockerfile plugin
builder-herokuish 0.25.4 enabled dokku core builder-herokuish plugin
builder-null 0.25.4 enabled dokku core builder-null plugin
builder-pack 0.25.4 enabled dokku core builder-pack plugin
buildpacks 0.25.4 enabled dokku core buildpacks plugin
certs 0.25.4 enabled dokku core certificate management plugin
checks 0.25.4 enabled dokku core checks plugin
common 0.25.4 enabled dokku core common plugin
config 0.25.4 enabled dokku core config plugin
cron 0.25.4 enabled dokku core cron plugin
docker-options 0.25.4 enabled dokku core docker-options plugin
domains 0.25.4 enabled dokku core domains plugin
enter 0.25.4 enabled dokku core enter plugin
git 0.25.4 enabled dokku core git plugin
letsencrypt 0.12.1 enabled Automated installation of let's encrypt TLS certificates
logs 0.25.4 enabled dokku core logs plugin
network 0.25.4 enabled dokku core network plugin
nginx-vhosts 0.25.4 enabled dokku core nginx-vhosts plugin
plugin 0.25.4 enabled dokku core plugin plugin
proxy 0.25.4 enabled dokku core proxy plugin
ps 0.25.4 enabled dokku core ps plugin
registry 0.25.4 enabled dokku core registry plugin
repo 0.25.4 enabled dokku core repo plugin
resource 0.25.4 enabled dokku core resource plugin
run 0.25.4 enabled dokku core run plugin
scheduler-docker-local 0.25.4 enabled dokku core scheduler-docker-local plugin
scheduler-null 0.25.4 enabled dokku core scheduler-null plugin
shell 0.25.4 enabled dokku core shell plugin
ssh-keys 0.25.4 enabled dokku core ssh-keys plugin
storage 0.25.4 enabled dokku core storage plugin
tags 0.25.4 enabled dokku core tags plugin
tar 0.25.4 enabled dokku core tar plugin
trace 0.25.4 enabled dokku core trace plugin
=====> microservices-netsuite-api app-json information
App json computed selected: app.json
App json global selected: app.json
App json selected:
=====> microservices-netsuite-api app information
App deploy source:
App dir: /home/dokku/microservices-netsuite-api
App locked: false
=====> microservices-netsuite-api builder information
Builder build dir:
Builder computed build dir:
Builder computed selected:
Builder global build dir:
Builder global selected:
Builder selected:
=====> microservices-netsuite-api builder-dockerfile information
Builder dockerfile computed dockerfile path: Dockerfile
Builder dockerfile global dockerfile path: Dockerfile
Builder dockerfile dockerfile path:
=====> microservices-netsuite-api builder-pack information
Builder pack computed projecttoml path: project.toml
Builder pack global projecttoml path: project.toml
Builder pack projecttoml path:
=====> microservices-netsuite-api buildpacks information
Buildpacks computed stack: gliderlabs/herokuish:latest-20
Buildpacks global stack:
Buildpacks list:
Buildpacks stack:
C = US, O = Internet Security Research Group, CN = ISRG Root X1
error 2 at 2 depth lookup: unable to get issuer certificate
=====> microservices-netsuite-api ssl information
Ssl dir: /home/dokku/microservices-netsuite-api/tls
Ssl enabled: true
Ssl hostnames:
Ssl expires at: Dec 30 20:32:56 2021 GMT
Ssl issuer: C = US, O = Let's Encrypt, CN = R3
Ssl starts at: Oct 1 20:32:57 2021 GMT
Ssl subject: subject=CN =
Ssl verified: self signed
=====> microservices-netsuite-api checks information
Checks disabled list: none
Checks skipped list: none
=====> microservices-netsuite-api cron information
Cron task count: 0
=====> microservices-netsuite-api docker options information
Docker options build:
Docker options deploy: --restart=on-failure:10
Docker options run:
=====> microservices-netsuite-api domains information
Domains app enabled: true
Domains app vhosts:
Domains global enabled: false
Domains global vhosts:
=====> microservices-netsuite-api git information
Git deploy branch: master
Git global deploy branch: master
Git keep git dir: false
Git rev env var: GIT_REV
Git sha: 5a92a6f
Git last updated at: 1633127978
=====> microservices-netsuite-api logs information
Logs computed max size: 10m
Logs global max size: 10m
Logs global vector sink:
Logs max size:
Logs vector sink:
=====> microservices-netsuite-api network information
Network attach post create:
Network attach post deploy:
Network bind all interfaces: false
Network computed attach post create:
Network computed attach post deploy:
Network computed bind all interfaces: false
Network computed initial network:
Network computed tld:
Network global attach post create:
Network global attach post deploy:
Network global bind all interfaces: false
Network global initial network:
Network global tld:
Network initial network:
Network static web listener:
Network tld:
Network web listeners: 172.17.0.4:5000
=====> microservices-netsuite-api nginx information
Nginx access log format:
Nginx access log path: /var/log/nginx/microservices-netsuite-api-access.log
Nginx bind address ipv4:
Nginx bind address ipv6: ::
Nginx client max body size:
Nginx disable custom config: false
Nginx error log path: /var/log/nginx/microservices-netsuite-api-error.log
Nginx global hsts: true
Nginx computed hsts: true
Nginx hsts:
Nginx hsts include subdomains: true
Nginx hsts max age: 15724800
Nginx hsts preload: false
Nginx proxy buffer size: 4096
Nginx proxy buffering: on
Nginx proxy buffers: 8 4096
Nginx proxy busy buffers size: 8192
Nginx proxy read timeout: 60s
Nginx last visited at: 1633128219
Nginx x forwarded for value: $remote_addr
Nginx x forwarded port value: $server_port
Nginx x forwarded proto value: $scheme
Nginx x forwarded ssl:
=====> microservices-netsuite-api proxy information
Proxy enabled: true
Proxy port map: http:80:4002 https:443:4002
Proxy type: nginx
=====> microservices-netsuite-api ps information
Deployed: true
Processes: 1
Ps can scale: true
Ps computed procfile path: Procfile
Ps global procfile path: Procfile
Ps procfile path:
Ps restart policy: on-failure:10
Restore: true
Running: true
Status web 1: running (CID: 4bac2f42975)
=====> microservices-netsuite-api registry information
Registry computed image repo: dokku/microservices-netsuite-api
Registry computed push on release: false
Registry computed server:
Registry global push on release:
Registry global server:
Registry image repo:
Registry push on release:
Registry server:
Registry tag version:
=====> microservices-netsuite-api resource information
=====> microservices-netsuite-api scheduler-docker-local information
Scheduler docker local disable chown:
=====> microservices-netsuite-api storage information
Storage build mounts:
Storage deploy mounts:
Storage run mounts: Metadata
Metadata
Assignees
Labels
No labels