containers / podman-compose

a script to run docker-compose.yml using podman
GNU General Public License v2.0
4.89k stars 470 forks source link

shm_size causes ''Error: unknown flag: --shm_size" #90

Open McAronDev opened 4 years ago

McAronDev commented 4 years ago

Podman run/create need flag "--shm-size" , not "--shm_size" like in docker.

rhatdan commented 4 years ago

Docker seems to use --shm-size as well?

docker run --help | grep shm
      --shm-size bytes                 Size of /dev/shm
McAronDev commented 4 years ago

Hm. You are right=). But anyway docker-compose option "shm_size" should be translated to podman's flag --shm-size, not --shm_size https://github.com/containers/podman-compose/blob/8c3b7e6c54060565557b274b42ee5a6bdfaedd1c/podman_compose.py#L501-L502

rhatdan commented 4 years ago

I saw this in my email flow, and failed to realize it was under podman-compose.