摘要:
1.配置阿里源 vim /etc/yum.repo/aliyun.repo [ali_baseos] name=ali_baseos baseurl=https://mirrors.aliyun.com/centos-stream/9-stream/BaseOS/x86_64/os/ gpgchec 阅读全文
posted @ 2024-05-28 12:05
~沐心
阅读(73)
评论(0)
推荐(0)
摘要:
点击查看代码 # 下载镜像 [root@192 home]# docker pull nginx Using default tag: latest latest: Pulling from library/nginx 8559a31e96f4: Pull complete 8d69e59170f7 阅读全文
posted @ 2024-05-28 11:34
~沐心
阅读(37)
评论(0)
推荐(0)
摘要:
需求: 在Docker容器中部署Tomcat,并通过外部机器访问Tomcat部署的项目。 点击查看代码 #下载 [root@localhost ~]# docker pull tomcat #启动运行 [root@localhost ~]# docker run -d -p 3355:8080 -- 阅读全文
posted @ 2024-05-28 10:51
~沐心
阅读(36)
评论(0)
推荐(0)

浙公网安备 33010602011771号