Docker Error log

1.1) for blank palces, only used space instead of table keys, regarding to long commands in docker

docker run \
  --name mysql \
  -e MYSQL_ROOT_PASSWORD=123 \
  -p 3306:3306 \
  -v /tmp/mysql/conf/hmy.cnf:/etc/mysql/conf.d/hmy.cnf \
  -v /tmp/mysql/data:/var/lib/mysql \
  -d \
  mysql

1.2) how to produce docker-compose images:

  • check local linux device ip;
  • correct the yml file
  • firstly, should install docker-compose
    (https://editor.csdn.net/md/?articleId=138333088)

[root@iZ2vc5lqzt23aweti4j777Z registry-ui]# cat docker-compose.yml
version: ‘3.0’
services:
registry:
image: registry
volumes: - ./registry-data:/var/lib/registry
ui:
image: joxit/docker-registry-ui:static
ports:
- 8080:80
environment:
- REGISTRY_TITLE=传智教育私有仓库
- REGISTRY_URL=http://registry:5000
depends_on:
- registry
[root@iZ2vc5lqzt23aweti4j777Z registry-ui]# docker-compose up -d
Creating network “registry-ui_default” with the default driver
Pulling registry (registry:)…
latest: Pulling from library/registry
79e9f2f55bf5: Pull complete
0d96da54f60b: Pull complete
5b27040df4a2: Pull complete
e2ead8259a04: Pull complete
3790aef225b9: Pull complete
Digest: sha256:169211e20e2f2d5d115674681eb79d21a217b296b43374b8e39f97fcf866b375
Status: Downloaded newer image for registry:latest
Pulling ui (joxit/docker-registry-ui:static)…
static: Pulling from joxit/docker-registry-ui
540db60ca938: Pull complete
197dc8475a23: Pull complete
39ea657007e5: Pull complete
37afbf7d4c3d: Pull complete
0c01f42c3df7: Pull complete
d590d87c9181: Pull complete
3333c94ae44f: Pull complete
33d7cca6fc9f: Pull complete
076b2dd9bdd1: Pull complete
b70198f04ee7: Pull complete
1fb6c5acc953: Pull complete
Digest: sha256:b0657b6be748173583516e411bd71552e54cb7d5dda94964726297ce8774415c
Status: Downloaded newer image for joxit/docker-registry-ui:static
Creating registry-ui_registry_1 … done
Creating registry-ui_ui_1 … done

相关推荐

最近更新

  1. TCP协议是安全的吗?

    2024-05-01 19:42:01       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-05-01 19:42:01       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-05-01 19:42:01       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-05-01 19:42:01       20 阅读

热门阅读

  1. 每天学习一个Linux命令之dd

    2024-05-01 19:42:01       11 阅读
  2. 使用 Python 和 Keras 实现卷积神经网络

    2024-05-01 19:42:01       13 阅读
  3. 三维装箱问题要点和难点实际应用和案例参考

    2024-05-01 19:42:01       14 阅读
  4. C/C++逻辑与运算与汇编指令的关系

    2024-05-01 19:42:01       10 阅读
  5. Tomcat的请求连接配置

    2024-05-01 19:42:01       10 阅读
  6. 2024年五一联赛数学建模A题思路+代码+论文+结果

    2024-05-01 19:42:01       12 阅读
  7. 2013NOIP普及组真题 1. 计数问题

    2024-05-01 19:42:01       11 阅读
  8. 搜索二叉树模拟实现

    2024-05-01 19:42:01       11 阅读
  9. LP38500/2-ADJ系列

    2024-05-01 19:42:01       15 阅读
  10. MATLAB初学者入门(26)—— PID控制器优化设计

    2024-05-01 19:42:01       9 阅读