-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enable docker experimental features (3)
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |