debian-curl/README.md

28 lines
637 B
Markdown
Raw Normal View History

2023-09-30 16:01:06 +05:00
## Multi-arch support
2023-09-30 16:37:03 +05:00
- You maybe need to run this command to get buildx if you get this error
2023-09-30 16:37:47 +05:00
**Error:**
2023-09-30 16:37:03 +05:00
```
exec /bin/sh: exec format error
```
2023-09-30 16:37:47 +05:00
**Fixing command:**
2023-09-30 16:01:06 +05:00
```bash
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
```
2023-09-30 16:37:03 +05:00
i have no idea what it does, but it seems to fix the thing ._.
2023-09-30 16:33:29 +05:00
- You MAY also need to set these variable before running build, depending on the docker version on host
2023-09-30 16:01:06 +05:00
```bash
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
```
Enable (1) or disable (0) BuildKit builds
#### Building new container
- `cd` into a folder and run
```bash
docker compose build
```