Skip to content

Commit

Permalink
Minor changes to the doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Nov 16, 2020
1 parent 630623a commit 5600f16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ This image encapsulates the Guix daemon. For now, Guix does not have a daemonles
docker build --platform=local -o . git://github.com/docker/buildx
mkdir -p ~/.docker/cli-plugins/
mv buildx ~/.docker/cli-plugins/docker-buildx
```
If you have it already installed, we need to create an insecure builder (this must be run only once):
```sh
# Create an insecure builder
docker buildx create --use --name insecure-builder --buildkitd-flags '--allow-insecure-entitlement security.insecure'
```
If you have it already installed, just run this command:
Finally, for building the `Dockerfile` with the already created insecure builder, we have to run this command:
```sh
# Build and push the image with buildx
docker buildx build -t metacall/example -o type=registry --allow security.insecure .
Expand Down

0 comments on commit 5600f16

Please sign in to comment.