containers / containers/podman-compose
line missing from bottom of console output
- Dominant language
- Python
- Stars
- 6.2k
- Forks
- 622
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
The last line of console output from a running container is not displayed.
**To Reproduce**
1. `mkdir foo && cd foo`
2. create the following `compose.yml` file:
```
services:
freeipa:
image: docker.io/freeipa/freeipa-server:almalinux-9
container_name: freeipa-server-container
environment:
- IPA_SERVER_HOSTNAME=ipa.example.test
tty: true
```
3. execute `podman-compose up`
This will start the freeipa set-up wizard.
**Expected behavior**
As the wizard progresses, it prompts the user with information and questions. Each question should be visible at the bottom of the terminal so the user can read and answer it.
**Actual behavior**
The bottom line is not visible (so the user cannot read the question).
**Output**
```
$ podman-compose --version
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 3.4.4
podman-compose version 1.0.6
podman --version
podman version 3.4.4
exit code: 0
```
```
$ podman-compose up
```
The first prompt is okay:
```
[freeipa] | This program will set up the IPA Server.
[freeipa] | Version 4.10.0
[freeipa] |
[freeipa] | This includes:
[freeipa] | * Configure a stand-alone CA (dogtag) for certificate management
[freeipa] | * Configure the NTP client (chronyd)
[freeipa] | * Create and configure an instance of Directory Server
[freeipa] | * Create and configure a Kerberos Key Distribution Center (KDC)
[freeipa] | * Configure Apache (httpd)
[freeipa] | * Configure SID generation
[freeipa] | * Configure the KDC to enable PKINIT
[freeipa] |
[freeipa] | To accept the default shown in brackets, press the Enter key.
[freeipa] |
[freeipa] | Do you want to configure integrated DNS (BIND)? [no]: Thu Apr 27 03:56:08 UTC 2023 /usr/sbin/ipa-server-configure-first
```
The next prompt (and all following prompts) are not visible:
```
[freeipa] | Enter the fully qualified domain name of the computer
[freeipa] | on which you're setting up server software. Using the form
[freeipa] | .
[freeipa] | Example: master.example.com
[freeipa] |
[freeipa] |
```
If you press enter, it will advance to the next prompt and you can see the question that you blindly answered.
```
[freeipa] | Server host name [ipa.example.test]:
[freeipa] |
[freeipa] | The domain name has been determined based on the host name.
[freeipa] |
```
**Environment:**
- OS: Linux
- podman version: 3.4.4
Contributor guide
Assessment
This issue has not been assessed yet.