Hi all,
we’ve succesfully used Ignition in docker containers for the last couple of years but now we have to front this issue:
suddenly all containers have become corrupted and after recreating (just a few) all of them show the message Disk Full The disk that Ignition is installed on is nearly full. in the status page.
We’ve been working with 20 or more container instantiated and without a problem, now we use just 2 or 3 and every 2 or 3 days the ignition containers (and only them!) explode.
We use compose files like this:
version: '3.1'
services:
gateway:
container_name: "Ignition8221"
restart: unless-stopped
dns: 192.168.10.1
image: kcollins/ignition:7.9.18 # You can change `latest` to a specific version, e.g. `8.0.5`
ports:
- 8221:8088
stop_grace_period: 30s
volumes:
- .\gateway_backup.gwbk:/restore.gwbk
- data8221:/var/lib/ignition
- .\log:/var/log/ignition
environment:
GATEWAY_SYSTEM_NAME: "Ignition@8221"
GATEWAY_ADMIN_PASSWORD: supersecretP@ssword
GATEWAY_NETWORK_AUTOACCEPT_DELAY: 60
volumes:
data8221:
external: True
networks:
default:
external: True
name: ignition
The disk is actually empty and we use about half of the ram available (64G)… we can’t figure out what’s going on or where to look for the proper parameter to set in the docker configuration.
This is the docker engine setting json:
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"debug": false,
"experimental": false,
"features": {
"buildkit": true
},
"insecure-registries": [],
"registry-mirrors": []
}
thi is what docker says about disk usage:
> docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 8 4 3.881GB 2.049GB (52%)
Containers 6 6 312.2MB 0B (0%)
Local Volumes 5 5 3.478GB 0B (0%)
Build Cache 10 0 0B 0B
I did docker system prune -a and the message disappeared, but when I go to the status page I see this:
Process Id 1
Operating System Linux | amd64
Java Version 1.8.0_262-b10
Local Time 11:27:20 AM
Available Disk Space 3gb / 251gb
Detected NICs 172.26.0.2
Does it mean that the gateways occupy 248gb of my disk (which actually has 529gb free)?
Have anyone any suggestions?
Thank you in advance.