Hello,
I’m looking to publish a web page using an HTTPD service created on the Docker Swarm’s node manager. The “It works” test page was initially displayed.
I modified the HTML file, but after restarting the container in Docker, the page no longer appears. A new container is automatically created, but it does not have the newly modified page.
How can I cancel the automatic creation of the container if it is causing the problem, or where else could the issue be?
Perhaps there is a network problem towards the outside?
Here is the Docker info. It is running on a container, and the main Docker is not in swarm mode.
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
NodeID: p32xcdxp9jpcixnivxsbdeefw
Is Manager: true
ClusterID: x7p8x92uj8p3pglxyd3ewfas2
Managers: 1
Nodes: 3
Default Address Pool: 10.0.0.0/8
SubnetSize: 24
Data Path Port: 4789
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 10
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address: 172.17.0.2
Manager Addresses:
172.17.0.2:2377
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 1677a17964311325ed1c31e2c0a3589ce6d5c30d
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.1.0-9-amd64
Operating System: Alpine Linux v3.18 (containerized)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.921GiB
Name: 0d1a98d8ea28
ID: b5420e7d-e3d0-4cda-ba24-b0f252369f57
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine