zoukankan      html  css  js  c++  java
  • docker命令

    root@ubuntu:~# docker info --format "{{json .Runtimes}}"
    {"kata-runtime":{"path":"/usr/local/bin/kata-runtime"},"runc":{"path":"runc"}}
    root@ubuntu:~# 
    root@ubuntu:/opt/gopath/src/github.com# docker version
    Client: Docker Engine - Community
     Version:           19.03.13
     API version:       1.40
     Go version:        go1.13.15
     Git commit:        4484c46
     Built:             Wed Sep 16 17:03:14 2020
     OS/Arch:           linux/arm64
     Experimental:      false
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
    root@ubuntu:/opt/gopath/src/github.com# docker info
    Client:
     Debug Mode: false
    
    Server:
    ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
    errors pretty printing info
    root@ubuntu:/opt/gopath/src/github.com# docker version
    Client: Docker Engine - Community
     Version:           19.03.13
     API version:       1.40
     Go version:        go1.13.15
     Git commit:        4484c46
     Built:             Wed Sep 16 17:03:14 2020
     OS/Arch:           linux/arm64
     Experimental:      false
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
    root@ubuntu:/opt/gopath/src/github.com# systemctl show docker
    Type=notify
    Restart=always
    NotifyAccess=main
    RestartUSec=2s
    TimeoutStartUSec=infinity
    TimeoutStopUSec=infinity
    RuntimeMaxUSec=infinity
    WatchdogUSec=0
    WatchdogTimestampMonotonic=0
    PermissionsStartOnly=no
    RootDirectoryStartOnly=no
    RemainAfterExit=no
    GuessMainPID=yes
    MainPID=0
    ControlPID=0
    FileDescriptorStoreMax=0
    NFileDescriptorStore=0
  • 相关阅读:
    应用层协议及ip地址划分
    请求与响应编码及jsp基本原理
    springboot注解
    springboot 快速入门
    Http协议简单解析及web请求过程
    Tomcat原理详解及请求过程
    mysql数据库乱码的问题解决
    AOP的实现原理
    Springl利用Aspectj的扩展实现Aop
    JDK动态代理实现原理
  • 原文地址:https://www.cnblogs.com/dream397/p/13751084.html
Copyright © 2011-2022 走看看