From daebdf3859ad3c912b068ea6b48e49f23c9ed0c2 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Fri, 9 Jul 2021 10:07:39 -0500 Subject: Add container config to compat image inspect With docker-compose, there is a use case where you can `docker-compose up -d`, then change a file like docker-compose.yml and run up again. This requires a ContainerConfig with at least Volumes be populated in the inspect data. This PR adds just that. Fixes: #10795 Signed-off-by: Brent Baude --- test/compose/uptwice/tests.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/compose/uptwice/tests.sh (limited to 'test/compose/uptwice/tests.sh') diff --git a/test/compose/uptwice/tests.sh b/test/compose/uptwice/tests.sh new file mode 100644 index 000000000..291694d83 --- /dev/null +++ b/test/compose/uptwice/tests.sh @@ -0,0 +1,4 @@ +# -*- bash -*- + +sed -i -e 's/10001/10002/' docker-compose.yml +docker-compose up -d -- cgit v1.2.3-54-g00ecf