diff options
author | Brent Baude <bbaude@redhat.com> | 2021-07-09 10:07:39 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2021-07-09 10:10:04 -0500 |
commit | daebdf3859ad3c912b068ea6b48e49f23c9ed0c2 (patch) | |
tree | d0babe6ec89af6006f4645d1f9e9c61bca97689f /test/compose/uptwice/tests.sh | |
parent | 43abe006a3d8026b6cc7deace0a29a08a5d4bc08 (diff) | |
download | podman-daebdf3859ad3c912b068ea6b48e49f23c9ed0c2.tar.gz podman-daebdf3859ad3c912b068ea6b48e49f23c9ed0c2.tar.bz2 podman-daebdf3859ad3c912b068ea6b48e49f23c9ed0c2.zip |
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 <bbaude@redhat.com>
Diffstat (limited to 'test/compose/uptwice/tests.sh')
-rw-r--r-- | test/compose/uptwice/tests.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |