常见问题
-
安装docker出现缺少
libsystemd-journal0
添加源deb http://cz.archive.ubuntu.com/ubuntu trusty main
,然后sudo apt-get update && sudo apt-get install libsystemd-journal0
-
国内安装
国内安装 搭建mxnet-gpu docker的pyhon remote kernel
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
- alpine镜像时区问题
FROM alpine:3.2
#添加时区
RUN set -xe && apk add --no-cache tzdata && cp -r -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ADD account_api /account_api
ENTRYPOINT [ /account_api ]
-
镜像加速 镜像加速列表
-
国内源
{
"registry-mirrors" : [
"https://mirror.ccs.tencentyun.com",
"http://registry.docker-cn.com",
"http://docker.mirrors.ustc.edu.cn",
"http://hub-mirror.c.163.com"
],
"insecure-registries" : [
"registry.docker-cn.com",
"docker.mirrors.ustc.edu.cn"
],
"debug" : true,
"experimental" : true
}
- docker-compose 创建一个子网 ```yaml version: ‘3.2’
services: metabase: restart: always image: metabase/metabase:latest container_name: metabase networks: - event-net
networks: event-net: ipam: driver: default config: - subnet: “192.168.33.0/24” ```
-
如何查看docker启动命令
- runlink