Commit Graph

458 Commits

Author SHA1 Message Date
Nicolas De Loof fe085df7b7
stop using buildkit hack to pull images
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 11:32:30 +02:00
Nicolas De Loof 907e8e1f24 implement healthcheck.disable by setting Test: "NONE"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-02 10:32:17 +02:00
Nicolas De loof 2315a1dad7
Merge pull request #1707 from docker/up_follow 2021-05-31 10:54:40 +02:00
Nicolas De Loof 4947a4037f
remove unresolved vars from env set by `exec`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-27 16:19:28 +02:00
Nicolas De Loof 6f6ae071d6
improve container events watch robustness
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-26 14:04:38 +02:00
Nicolas De Loof c16834cba6
attach to containers added by "scale"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-25 22:59:57 +02:00
Nicolas De loof 2605aae33f
Merge pull request #1711 from ndeloof/rename_race
prevent race condition renaming containers
2021-05-25 20:53:10 +02:00
Nicolas De Loof 5f09e330fb
prevent race condition renaming containers
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-25 14:02:07 +02:00
guillaume.tardif 7a25378590 Do not resolve mount linux abs path as windows path on windows (eg. /var/run/docker.sock => c:/var/run/docker.sock folder)
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-05-24 21:54:36 +02:00
Nicolas De loof ccaa1754d4
Merge pull request #1682 from ndeloof/exec_env
define exec env by merging service env with command line --env
2021-05-20 21:29:57 +02:00
Nicolas De Loof 04c3833450
define exec env by merging service env with command line --env
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 18:54:03 +02:00
Nicolas De loof d70b50bc3b
Merge pull request #1689 from chris-crone/bump-linter 2021-05-20 18:33:48 +02:00
Nicolas De Loof c76dd110c7
only (re)start selected services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 12:03:30 +02:00
Chris Crone d27bda5e1d build: Update golangci-lint
* Replace goling with revive as the former is deprecated

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-05-19 15:00:53 +00:00
Nicolas De loof dbd936b704
Merge pull request #1679 from ndeloof/build_args
resolve build args on compose up --build
2021-05-17 16:32:38 +02:00
Nicolas De loof 2162bc922a
Merge pull request #1675 from ndeloof/ps_exitcode
ps shows healthcheck only for running container
2021-05-17 16:31:43 +02:00
Nicolas De loof 8f2e572edd
Merge pull request #1676 from ndeloof/bind_npipe
named pipe need to be mounted using the bind API
2021-05-17 16:30:45 +02:00
Nicolas De Loof 377bcd8048
only start current project services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 11:05:23 +02:00
Nicolas De Loof 70eaf2cc61
resolve build args on compose up --build
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 10:54:05 +02:00
Nicolas De Loof 221f420ce2
ps shows healthcheck only for running container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 10:02:47 +02:00
Nicolas De Loof 8f458570c7
named pipe need to be mounted using the bind API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 09:40:54 +02:00
Nicolas De Loof fc25d3a54a
support mulitple bindings for same target port
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-10 08:55:49 +02:00
Nicolas De loof 8a5390ae3e
Merge pull request #1651 from ndeloof/ghcr_credentials 2021-05-07 12:19:17 +02:00
Nicolas De Loof e0ae9d21b4
pass authprovider to buildkit session in addition to driver's Auth parameter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-07 11:49:20 +02:00
Nicolas De loof db6978aa57
Merge pull request #1628 from ulyssessouza/add-bypass-envvar
Support bypass envvars
2021-05-07 07:25:14 +02:00
Ulysses Souza f159bc4901 Support bypass envvars
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-06 15:47:31 -03:00
Nicolas De loof 4c0cbea24b
Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
Nicolas De Loof f40846126e
compose ps list stopped containers. -a is used to include oneoff
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-06 11:30:38 +02:00
Nicolas De loof f1aaab1943
Merge pull request #1648 from ndeloof/single_ulimit 2021-05-06 11:14:37 +02:00
Nicolas De Loof fa4d028f8e
apply single ulimit as soft+hard limit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-06 10:31:25 +02:00
Nicolas De loof c308e1f1b9
Merge pull request #1647 from gtardif/fix_race_depens_on
Avoid using for variable in go func, as this creates race conditions
2021-05-06 10:02:20 +02:00
Guillaume Tardif 998dbf79f9 Avoid using for variable in go func, as this creates race conditions
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-06 09:43:12 +02:00
Guillaume Tardif 416af599aa Fix building compose files with absolute build context / Dockerfile
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 16:58:50 +02:00
Nicolas De loof 7840be9693
Merge pull request #1633 from ndeloof/ipaddress
configure service with ipAddress
2021-05-04 20:32:40 +02:00
Nicolas De Loof ba588275a3
configure service with ipAddress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-04 15:53:09 +02:00
Nicolas De loof c64317a981
Merge pull request #1627 from ulyssessouza/add-services-on-ps
Add support for services on ps command
2021-05-04 12:45:29 +02:00
Nicolas De Loof 87abb4eb9c
don't invoke r.Close on error as r == nil
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-04 08:42:49 +02:00
Ulysses Souza 36d6c40e52 Add support for services on ps command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-03 20:03:52 -03:00
Julien Tant d827213d32 ignore linter err
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-03 11:57:55 -07:00
Julien Tant 42cd3da59d add tests
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-03 10:58:52 -07:00
Nicolas De Loof 4186cce1dd
use highest priority network to declare network aliasses
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-03 16:01:10 +02:00
Julien Tant c2f2196d30 Add all parameter
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-01 19:24:07 -07:00
Julien Tant 8f9ce9d763 Add cp command
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-01 18:20:52 -07:00
Nicolas De loof 7d43d39de2
Merge pull request #1616 from ndeloof/pid_namespace
handle dependency involved by shared PID namespace
2021-04-30 12:25:33 +02:00
Nicolas De Loof deecf76421
reduce code complexity with sub-functions
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-30 09:35:09 +02:00
Nicolas De Loof 98187b2f62
down --volume to remove volume
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-30 08:18:06 +02:00
Nicolas De Loof a93008ab1c
handle dependency involved by shared PID namespace
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 21:48:20 +02:00
Nicolas De loof b46015f2f8
Merge pull request #1610 from ndeloof/build_args_from_env 2021-04-29 12:15:35 +02:00
Nicolas De loof 634ade5e8a
Merge pull request #1609 from ndeloof/exec_exitcode 2021-04-29 12:14:07 +02:00
Nicolas De Loof 15eab93b31
docker compose exec to return command exit code
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:58:45 +02:00