[Error] Container will not start after stop/reboot
- Linguagem predominante
- Go
- Estrelas
- 13k
- Forks
- 541
- Merge médio
- 20h 47min
- PRs com merge (30d)
- 4
Descrição
**Bug**
Failed to restart distobox container
**To Reproduce**
`distrobox-create --name test --image quay.io/rockylinux/rockylinux:latest`
`distrobox enter test`
corretly opens test container **bash** shell
`distrobox stop test`
can't start agaig
`distrobox enter test` failed
logs attached
**Expected behavior**
corretly opens test container **bash** shell
**Logs**
[podman-logs.txt](https://github.com/user-attachments/files/24891500/podman-logs.txt)
[distrobox-test-logs.txt](https://github.com/user-attachments/files/24891501/distrobox-test-logs.txt)
**Desktop:**
podman version 5.7.1
distrobox: 1.8.2.3
host: arch linux
distrobox installed from via pacman
**Additional context**
I think issue because of shell of user. My default shell is fish
So I've found out that if chage shell to bash, restart system and create new container it works.
Same behavior on fedora linux with fish shell as default.
Guia de contribuição
Direção de pesquisa
Veja os scripts do distrobox que lidam com container start/stop e shell detection, especialmente em torno de user shell configuration. Os logs (podman-logs.txt, distrobox-test-logs.txt) podem mostrar erros. Teste com fish como default shell para reproduzir, depois rastreie por que o container falha ao reiniciar. Verifique se o problema está em shell initialization ou em container state management.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- bash, docker, fish, linux, shell
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100