当前位置:   article > 正文

更改MTU解决docker pull不成功的问题_docker0修改mtu不生效

docker0修改mtu不生效

    在进行Malcolm安装测试时,首先更换为中科大的docker源,在执行pull时,始终报错

alice@node0x09:~/Malcolm$ docker-compose pull
Pulling elasticsearch ... done
Pulling kibana        ... done
Pulling elastalert    ... waiting
Pulling curator       ... waiting
Pulling logstash      ... done
Pulling filebeat      ... download complete
Pulling moloch        ... done
Pulling zeek          ... done
Pulling file-monitor  ... done
Pulling pcap-capture  ... done
Pulling pcap-monitor  ... done
Pulling upload        ... waiting
Pulling htadmin       ... done
Pulling freq          ... done
Pulling name-map-ui   ... done
Pulling nginx-proxy   ... done

ERROR: for filebeat  Get https://registry-1.docker.io/v2/malcolmnetsec/filebeat-oss/manifests/2.4.1: EOF

ERROR: for upload  Get https://registry-1.docker.io/v2/malcolmnetsec/file-upload/manifests/2.4.1: EOF

ERROR: for curator  error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>

解决方法,更改MTU

alice@node0x09:sudo ifconfig ens2f0 mtu 1400

alice@node0x09:~/Malcolm$ docker-compose pull 
Pulling elasticsearch ... done
Pulling kibana        ... done
Pulling elastalert    ... done
Pulling curator       ... done
Pulling logstash      ... done
Pulling filebeat      ... done
Pulling moloch        ... done
Pulling zeek          ... done
Pulling file-monitor  ... done
Pulling pcap-capture  ... done
Pulling pcap-monitor  ... done
Pulling upload        ... done
Pulling htadmin       ... done
Pulling freq          ... done
Pulling name-map-ui   ... done
Pulling nginx-proxy   ... done
执行成功, 一共16个images,启动Malcolm

alice@node0x09:~/Malcolm$ python3 ./scripts/start


 - Moloch: https://localhost/
  - Kibana: https://localhost/kibana/
  - PCAP Upload (web): https://localhost/upload/
  - PCAP Upload (sftp): sftp://username@127.0.0.1:8022/files/
  - Host and subnet name mapping editor: https://localhost/name-map-ui/
  - Account management: https://localhost:488/

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/743117
推荐阅读
相关标签
  

闽ICP备14008679号