报错

Step 6 : RUN apt-get install lsof
 ---> Running in 3bffcff2a321
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libperl4-corelibs-perl
The following NEW packages will be installed:
  libperl4-corelibs-perl lsof
0 upgraded, 2 newly installed, 0 to remove and 57 not upgraded.
Need to get 360 kB of archives.
After this operation, 692 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
The command '/bin/sh -c apt-get install lsof' returned a non-zero code: 1

使用assume-yes

apt-get install lsof --assume-yes

doc


codecraft
11.9k 声望2k 粉丝

当一个代码的工匠回首往事时,不因虚度年华而悔恨,也不因碌碌无为而羞愧,这样,当他老的时候,可以很自豪告诉世人,我曾经将代码注入生命去打造互联网的浪潮之巅,那是个很疯狂的时代,我在一波波的浪潮上留下...