Skip to content

Commit

Permalink
chore: enable docker experimental features (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar committed Apr 30, 2019
1 parent 63a7471 commit 91f963e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifest.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env bash

echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
docker version -f '{{.Server.Experimental}}'
export DOCKER_CLI_EXPERIMENTAL=enabled

docker -D manifest create "exivity/base:latest" \
docker manifest create "exivity/base:latest" \
"exivity/base:linux" \
"exivity/base:windows"

# @todo: is this needed?
# docker manifest annotate "exivity/base:latest" "exivity/base:linux" --os linux --arch amd64
# docker manifest annotate "exivity/base:latest" "exivity/base:windows" --os windows --arch amd64

docker manifest push "exivity/base:latest"

0 comments on commit 91f963e

Please sign in to comment.