adamant-kite-43734
12/12/2023, 8:00 PMfast-garage-66093
12/12/2023, 8:18 PMrefined-secretary-74379
12/12/2023, 8:52 PMdocker compose up
. My docker cli is symlinked to rancher: /.docker/cli-plugins/docker-compose -> /.rd/bin/docker-compose
Compose handled the creation and start of the container. I’m not entirely sure how to check the last question you asked, but I didn’t do any special directory binding. So whatever is out-of-the-box is what I’m usingfast-garage-66093
12/12/2023, 9:23 PMrefined-secretary-74379
12/12/2023, 9:25 PMvolumes:
- ${VOLUMES_ROOT}/postgres/data:/var/lib/postgresql/data:delegated
refined-secretary-74379
12/13/2023, 7:06 PMfast-garage-66093
12/13/2023, 7:33 PMfast-garage-66093
12/13/2023, 7:35 PMrefined-secretary-74379
12/13/2023, 8:01 PMfast-garage-66093
12/13/2023, 8:15 PMrefined-secretary-74379
12/14/2023, 7:09 PMrefined-secretary-74379
12/18/2023, 7:30 PMdocker compose
in both Docker and Rancher Desktop has some issues.
I followed the instructions in the comment in the above issue thread: https://github.com/rancher-sandbox/rancher-desktop/issues/1209#issuecomment-1370181132
After adding the override config, I restarted rancher: rdctl shutdown
, then rdctl start
(you may have to reset the context back to rancher desktop: docker context use rancher-desktop
)
I ran docker compose up
and all my containers seemed to be running with the right permissions except for my postgres one. So I just manually ran it without using compose and it worked: docker run --name postgres11 -e POSTGRES_USER=$PG_USER -e POSTGRES_PASSWORD=$PG_PASS -p 5432:5432 --detach postgres:11
fast-garage-66093
12/18/2023, 7:32 PMrefined-secretary-74379
12/18/2023, 7:32 PMfast-garage-66093
12/18/2023, 7:33 PM