Skip to content

bash: cannot set terminal process group (-1): Inappropriate ioctl for device

Hi,

I'm not sure if it is appropriate to raise docker issue here, but I need your help.

Recently I tried to run OpenFOAM on Windows by following the instruction described here: https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/windows

I installed WSL and docker on a Windows system and run the OpenFOAM-default image on it. But when I run the image, I faced the following error message and the status of the container turned to exited.

---------------------------------------------------------------------------
  =========                 |
  \\      /  F ield         | OpenFOAM in a container [from OpenCFD Ltd.]
   \\    /   O peration     |
    \\  /    A nd           | www.openfoam.com
     \\/     M anipulation  |
---------------------------------------------------------------------------
 Release notes:  https://www.openfoam.com/news/main-news/openfoam-v2306
 Documentation:  https://www.openfoam.com/documentation/
 Issue Tracker:  https://develop.openfoam.com/Development/openfoam/issues/
 Local Help:     more /openfoam/README
---------------------------------------------------------------------------
System   :  Ubuntu 22.04.2 LTS  (admin user: sudofoam)
OpenFOAM :  /usr/lib/openfoam/openfoam2306
Build    :  _fbf00d6b-20230626 OPENFOAM=2306 patch=0

Note
    Different OpenFOAM components and modules may be present (or missing)
    on any particular container installation.
    Eg, source code, tutorials, in-situ visualization, paraview plugins,
        external linear-solver interfaces etc.
---------------------------------------------------------------------------
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
root@399e74dd484f:~# exit

I set the WSL distro to be Ubuntu but it doesn't help for me.

How can I handle this problem?

Many thanks in advance.

Regards, Geon-Hong.

Edited by Geon-Hong