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
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
Nicolas De Loof
e433777796
resolve build args without value from environment
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:43:09 +02:00
Nicolas De Loof
b33588b725
when bind mount has CreateHostPath set, use bind API
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-27 17:03:16 +02:00
Guillaume Tardif
6c5bd67c19
Fix race in TestAttachRestart : wait for logs to appear rather than have a fixed TTL for the application
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-26 12:01:24 +02:00
guillaume.tardif
df7f57e227
one more windows adaptation
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 13:21:10 +02:00
Guillaume Tardif
95179f1625
Compose Cancel test not compile/run on windows (no signals)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 12:39:55 +02:00
guillaume.tardif
4fa4284eb4
Adapt compose tests to pass with Desktop Windows
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 12:04:42 +02:00
Guillaume Tardif
de3fa40bae
Handle Ctrl+C for compose CLI plugin.
...
Could do something nicer passing the context to the compose command, rather than intercepting it and checking if it’s “.WithCancel” or not...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 10:21:05 +02:00