This a special note that list various tips that are too short for a single “light note”, since I only list two light notes per page.
standard_init_linux.go:207: exec user process caused "exec format error"
- you tried to run an image not built for your architecture;
- the entry point script of your image does not have a valid
#shebang on the first line.
View the content of a running container, or post-mortem
docker export containerid -o /path/to/file.tar.gz
/path/to/file.tar.gz will be a snapshot of the
/ directory of your
No network during builds, while using custom networks
One solution would be to
use the ‘host’ network just for the build,
by adding a
network: host node below your
Complete example :
version: '3.4' services: matrix: image: myy/synapse:latest build: context: ./build-synapse network: host networks: myynet: ipv6_address: fc00::105 networks: myynet: external: true
In this example, the Dockerfile path is ./build-synapse/Dockerfile
Also, the network
myynetis not used during the build