Tested with my local container that has a volume, before, the container would not create with the exported compose file, now it will. Volumes are assumed to be external, and users will have to create the volume before trying to create the container. Didn't see any way to determine this based off of output of docker inspect.
These commits are a little messy, probably want to squash them when merging into a single commit with a message along the lines of what is in the title.
ref: https://github.com/Red5d/docker-autocompose/issues/17
Tested with my local container that has a volume, before, the container would not create with the exported compose file, now it will. Volumes are assumed to be external, and users will have to create the volume before trying to create the container. Didn't see any way to determine this based off of output of
docker inspect
.These commits are a little messy, probably want to squash them when merging into a single commit with a message along the lines of what is in the title.
Example output with change:
Example output before change: