Commit Graph

816 Commits (6a702ebe5bf31e66c8c114302c2659d619ab3102)
 

Author SHA1 Message Date
Akihiro Suda 5f8600f098
docker-container: set UsernsMode only when needed
Set `UsernsMode="host"` only when the daemon is running in userns-remapping mode.

Fix issue 561

The issue will be also fixed in moby/moby PR 43084 (Docker 20.10.13).
This buildx PR helps users of old releases of Docker.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
3 years ago
CrazyMax d95ebef55c
bake: fix group resolution
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Tõnis Tiigi 33c121df01
Merge pull request #881 from crazy-max/fix-bake-print
bake: fix groups print
3 years ago
Tõnis Tiigi 1dde00c4bc
Merge pull request #880 from crazy-max/bake-ignore-field
bake: ignore NetworkMode field for json and hcl
3 years ago
CrazyMax 4466a24f9e
bake: fix groups print
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax ec9daba87e
bake: ignore NetworkMode field for json and hcl
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Sebastiaan van Stijn 202e99695b
Merge pull request #823 from crazy-max/docs-git-protoc
docs: fix git protocol
3 years ago
Tõnis Tiigi 7371dda7a2
Merge pull request #863 from zachary-povey/support_host_network_in_compose
Add NetworkMode to bake target
3 years ago
Tõnis Tiigi 62bdf4d85e
Merge pull request #868 from crazy-max/discard-containerd-logger
imagetools resolver: discard containerd logger output
3 years ago
Zachary Povey 7f8dbf890d Remove support for network override in bake
Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk>
3 years ago
Tõnis Tiigi bede4ab552
Merge pull request #869 from crazy-max/deprecaded-clientopt
imagetools resolver: fix deprecated client opt
3 years ago
CrazyMax 5c5125f30e
imagetools resolver: fix deprecated client opt
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax e9cf2cbe32
imagetools resolver: discard containerd logger output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Zachary Povey 4ee7f70400 Remove NetworkMode support for HCL targets
Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk>
3 years ago
CrazyMax 0abda783bb
Merge pull request #864 from eliottwiener/bake-read-from-stdin
bake: build definition file via stdin
3 years ago
Tõnis Tiigi aadd118883
Merge pull request #867 from crazy-max/du-last-accessed
disk usage: last accessed not displayed
3 years ago
CrazyMax 9aff9301ce
disk usage: last accessed not displayed
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax 93d6b654ca
Merge pull request #866 from Wojciechem/patch-1
add note about variable syntax in json
3 years ago
Wojciech M 42287815b5 add note about variable syntax in json
In addition to HCL, variables can also be defined in json.

Signed-off-by: wojciechem <wmiedzybrodzki@outlook.com>
3 years ago
Eliott Wiener dcabc22072 bake: build definition file via stdin
closes #833

Accept bake build definition file from stdin with `-f -`.

Signed-off-by: Eliott Wiener <eliottwiener@gmail.com>
3 years ago
Zachary Povey ae53101e89 Add NetworkMode to bake target
Allows specification of network mode in a bake target.

Fixes #848

Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk>
3 years ago
CrazyMax 61627c2ece
docs: fix git protocol
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Tõnis Tiigi ab73275f58
Merge pull request #857 from crazy-max/bake-json
bake: fix print output
3 years ago
CrazyMax 316ca972b6
bake: fix print output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax 5c2b9bbfc5
Merge pull request #861 from tonistiigi/cleanup
commands: clean up unnecessary code
3 years ago
Tonis Tiigi cc2a879660 commands: clean up unnecessary code
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tõnis Tiigi 89334a88a9
Merge pull request #853 from crazy-max/fix-flags
cli: fix flags usage
3 years ago
Tõnis Tiigi 1927dba42f
Merge pull request #852 from DataDog/mayeul/docker-buildx-rm--keep-buildkitd
Add an flag to buildx rm to keep the buildkitd daemon running
3 years ago
Mayeul Blanzat 72dab552b5 Add an option to buildx rm to keep the buildkitd daemon running
Add --keep-daemon to the `rm` command option to preserve the buildkitd daemon after the buildx context is deleted.

Signed-off-by: Mayeul Blanzat <mayeul.blanzat@datadoghq.com>
3 years ago
CrazyMax a0a7db127c
cli: fix flags usage
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Tõnis Tiigi bcfd434829
Merge pull request #839 from crazy-max/xx-update
dockerfile: update xx to 1.0.0
3 years ago
CrazyMax d1aaed7a77
dockerfile: update xx to 1.0.0
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax f0026081a7
Merge pull request #832 from crazy-max/update-compose
update github.com/compose-spec/compose-go to v1.0.5
3 years ago
CrazyMax a18829f837
update github.com/compose-spec/compose-go to v1.0.5
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax da0eb138d0
Merge pull request #829 from crazy-max/typo
fix typo in docs
3 years ago
CrazyMax a2c7d43e46
fix typo in docs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Akihiro Suda f7cba04f5e
Merge pull request #828 from tonistiigi/strip-binary
Dockerfile: strip binary by default
3 years ago
Tonis Tiigi 12b5db70e2 Dockerfile: strip binary by default
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tõnis Tiigi 5c4e3fc860
Merge pull request #818 from crazy-max/fix-builder-flag
cli: fix builder persistent flag
3 years ago
CrazyMax eab0e6a8fe
cli: fix builder persistent flag
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax 4c938c77ba
Merge pull request #825 from tonistiigi/multi-node-registry-conf
allow multi-node push and imagetools to use custom registry config
3 years ago
Tonis Tiigi 1cca41b81a build: support insecure export option for multi-node build
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tonis Tiigi c62472121b allow multi-node push and imagetools to use custom registry config
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tonis Tiigi 88d0775692 refactor accessing registry configs via drivers
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tõnis Tiigi 8afc82b427
Merge pull request #817 from tonistiigi/project-sharedkey
build: set local sharedkey per project basename
3 years ago
Tõnis Tiigi d311561a8b
Merge pull request #824 from tonistiigi/config-files-store2
store snapshot of config files on create
3 years ago
Tõnis Tiigi 44e180b26e
Merge pull request #826 from tonistiigi/multi-node-iidfile 3 years ago
Tonis Tiigi 02d29e0af5 build: fix setting iidfile with multi-node push
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tonis Tiigi 40121c671c kubernetes: store config files for k8s
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tonis Tiigi 4c1621cccd store snapshot of config files on create
Files can be reused when container needs to be booted again.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago