Author Topic: How to run interactive Centos 6 within docker  (Read 3311 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to run interactive Centos 6 within docker
« on: January 18, 2020, 08:35:14 AM »
I'm unable to run an interactive session with Centos:6 in docker. Works perfectly with Centos:7

>docker -v
Docker version 18.03.0-ce, build 0520e24302
>docker pull centos:6
...
>docker run -it centos:6
[just returns to my terminal]

>docker pull centos:7
...
>docker run -it centos:7
>[root@f8c0430ed2ba /]#cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
Any idea what is going on ?

I tried with older version of docker and i pulled all new images Centos:6/6.6/6.7/6.8/6.9 and it shows the same problems. I also tried with /bin/bash or sh at the end.

Also i'm sure that it used to work more or less one year ago. I'm using ArchLinux

Re: How to run interactive Centos 6 within docker
« Reply #1 on: January 18, 2020, 11:27:50 AM »
Wrong forum