Open
Description
Steps to reproduce
stack new test-proj simple
cd test-proj
- append the following to
stack.yaml
docker:
enable: true
persist: true
detach: true
stack build --docker-container-name test-cont
docker container start -i test-cont
Expected
Get access to the docker container shell
Actual
docker container start -i test-cont
exited with the following error:
Received ExitFailure 9 when running
Raw command: /usr/sbin/groupadd -o --gid 3 group3
Standard error:
groupadd: group 'group3' already exists
Stack version
$ stack --version
Version 2.1.3, Git revision 636e3a759d51127df2b62f90772def126cdf6d1f (7735 commits) x86_64 hpack-0.31.2
Method of installation
This AUR package: https://aur.archlinux.org/packages/stack-static
System information
$ uname -a
Linux pc 4.19.85-1-MANJARO #1 SMP PREEMPT Thu Nov 21 10:38:39 UTC 2019 x86_64 GNU/Linux
$ docker --version
Docker version 19.03.4-ce, build 9013bf583a
Related issues
Very similar error, but a patch was merged: #3092