随笔分类 - docker
使用docker期间遇到的问题或笔记
摘要:1.sudo apt-get install xinetd telnetd 2.vim /etc/xinetd.d/telnet (创建配置文件) 加入以下内容: service telnet { disable = no flags = REUSE socket_type = stream wai
阅读全文
摘要:① docker run -d --name centos --privileged=true centos:centos7 /usr/sbin/init
② docker exec -it centos /bin/bash
阅读全文
摘要:docker desktop
docker centos
阅读全文
摘要:使用docker和kali极速配置hadoop集群环境
阅读全文
摘要:边学习边补充 查看镜像 docker image ls 查看运行中的容器 docker ps 宿主机和容器间复制文件 从主机复制到容器sudo docker cp host_path containerID:container_path 从容器复制到主机sudo docker cp containe
阅读全文
摘要:docker编辑文件 精简版没有vi也没有vim,那么要怎么编辑文件? echo abc >> test.txt 下载vim 在宿主机编写好文件之后copy到容器中 使用sed命令 Linux sed 命令 | 菜鸟教程 (runoob.com)
阅读全文

浙公网安备 33010602011771号