From 5600f167f66badebbc1394cf0287351a9b6c21a4 Mon Sep 17 00:00:00 2001 From: viferga Date: Mon, 16 Nov 2020 12:51:48 -0900 Subject: [PATCH] Minor changes to the doc. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 821fdb2..4d73446 100644 --- a/README.md +++ b/README.md @@ -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 .