Unable to install vim or nano inside docker container

后端 未结 6 1993
失恋的感觉
失恋的感觉 2021-02-01 03:11

Trying to install inside a docker, either vim or nano but I only get this:

0% [Connecting to archive.ubuntu.com (91.189.88.152)]

Exit docker an

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-01 03:16

    The solution is to run docker with:

    docker run --net=host
    

提交回复
热议问题