containers / containers/podman-compose
incompact container name between `docker-compose` and `podman-compose`
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 622
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
incompact container name between `docker-compose` and `podman-compose`
**To Reproduce**
Just copy some docker-compose.yml from internet.
`foobar/docker-compose.yml`
```
version: '2'
services:
hello_world:
image: ubuntu
command: [/bin/echo, 'Hello world']
```
```
$ cd foobar
$ docker-compose up
$ BUILDAH_FORMAT=docker PODMAN_USERNS=keep-id podman-compose up
```
**Expected behavior**
```
$ docker container ls -a
... NAMES
... foobar-hello_world-1
```
**Actual behavior**
```
$ podman container ls -a
... NAMES
... foobar_hello_world_1
```
**Output**
```
$ podman-compose version
using podman version: 4.3.0
podman-composer version 1.0.3
podman --version
podman version 4.3.0
$ podman-compose up
...
```
**Environment:**
- OS: Linux / WSL / Mac
- podman version:
- podman compose version: (git hex)
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.