随笔分类 -  docker

摘要:1.进去gitlab容器 docker exec -it 70bb /bin/bash 2.切换目录 cd /opt/gitlab/bin 3.修改密码 u=User.find(1) 查找用户 u.password='12345678' u.password_confirmation='123456 阅读全文
posted @ 2022-04-11 09:24 在路上的白羊 阅读(839) 评论(0) 推荐(0)
摘要:查看ip 命令ip addr 修改网卡接口的配置文件 配置文件存放路径:/etc/sysconfig/network-scripts其中ifcfg-eth0就是我们网卡接口的配置文件,vim编辑它 修改前 修改后 TYPE="Ethernet" PROXY_METHOD="none" BROWSER 阅读全文
posted @ 2022-04-08 15:52 在路上的白羊 阅读(65) 评论(0) 推荐(0)
摘要:运行docker-compose.yml文件之前,先安装docker和docker-compose https://packages.gitlab.com/app/gitlab/gitlab-ce/search version: '3.7' services: gitlab_runner: imag 阅读全文
posted @ 2021-05-10 14:53 在路上的白羊 阅读(439) 评论(0) 推荐(0)
摘要:1. 先删除之前安装的老版本docker,如果有的话。 $ sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate 阅读全文
posted @ 2019-06-28 12:19 在路上的白羊 阅读(1064) 评论(0) 推荐(0)