Docker minimum kernel version 3.8.13 or 3.10

前端 未结 3 1147
不知归路
不知归路 2020-12-18 00:56

On the Docker website I am seeing information that is close to being in conflict.

The page: https://docs.docker.com/installation/oracle/ Says \"Docker requires the u

3条回答
  •  时光说笑
    2020-12-18 01:02

    I had no success with Oracle Unbreakable Linux 7.0 which is identical to Red Hat 7.0 I am told.

    Example below shows that a fairly standard container created from latest Ubuntu will not start after creation.

    [vagrant@oracle-70-x64 ~]$ docker run -t -i ubuntu /bin/bash
    Unable to find image 'ubuntu:latest' locally
    latest: Pulling from ubuntu
    e118faab2e16: Pull complete 
    7e2c5c55ef2c: Pull complete 
    e04c66a223c4: Pull complete 
    fa81ed084842: Already exists 
    ubuntu:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
    Digest: sha256:738edd684282277c07f23277718e43562daf2ee210f7aca9a13fae65f0159ffffd
    Status: Downloaded newer image for ubuntu:latest
    root@6f47331e6c6a:/# exit
    exit
    [vagrant@oracle-70-x64 ~]$ docker ps -all
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                     PORTS               NAMES
    6f47331e6c6a        ubuntu:latest       "/bin/bash"         36 seconds ago      Exited (0) 7 seconds ago                       boring_lovelace     
    [vagrant@oracle-70-x64 ~]$ docker start 6f47331e6c6a
    Error response from daemon: Cannot start container 6f47331e6c6a: [8] System error: Unit docker-6f47331e6c6a85410028b661bebe997192bb15dfa2f6cf1d92328586a5afa2c0.scope already exists.
    FATA[0000] Error: failed to start one or more containers 
    [vagrant@oracle-70-x64 ~]$
    

    The problem is the kernel version. It is old

    [vagrant@oracle-70-x64 ~]$ uname -a
    Linux oracle-70-x64.vagrantup.com 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    

    Compared to for example Ubuntu

    $ uname -a
    Linux kore 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    

提交回复
热议问题