-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It is not possible to create a container with a mounted volume.
Steps to reproduce
- Create file docker-compose.yml with below content:
services:
db:
image: postgres:14-alpine
restart: on-failure:10
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=db_name
volumes:
- ./.volumes/db:/var/lib/postgresql/data
ports:
- '5432:5432'
- Execute command
finch compose up
Expected behavior
Container started successful
Logs
WARN[0000] Ignoring: service db: restart="on-failure:10" (unknown)
WARN[0000] Ignoring: volume: Bind: [CreateHostPath]
INFO[0000] Ensuring image postgres:14-alpine
INFO[0000] Creating container runtime-config_db_1
FATA[0000] error while creating container runtime-config_db_1: exit status 1
FATA[0000] exit status 1
Finch version: v0.1.1
limactl version: fc3f2a9
qemu version: 7.1.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working