假设服务端运行在centos7上: vim /usr/lib/systemd/system/docker.service 修改ExecStart行:
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H fd:// --containerd=/run/containerd/containerd.sock
https://docs.docker.com/engine/reference/commandline/dockerd/
假设服务端运行在centos7上: vim /usr/lib/systemd/system/docker.service 修改ExecStart行:
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H fd:// --containerd=/run/containerd/containerd.sock
https://docs.docker.com/engine/reference/commandline/dockerd/
| iphone用数据线连mac,在mac里找实用工具文件夹,在里面找图像捕捉,直接能看到所有照片,下面有选项,可以选取导入或者全部导入,或者直接选中拖到mac文件夹。 | |
| https://www.zhihu.com/question/268250646 |
salt-call --local test.ping
vim /etc/salt/minion
| go get -u -v github.com/Dreamacro/clash | |
| GOOS=linux GOARCH=arm GOARM=7 go build github.com/Dreamacro/clash |
| # yum install inotify-tools | |
| #!/bin/sh | |
| while inotifywait -e modify /srv/salt/_modules; do | |
| salt '172.16.184.148' saltutil.sync_all | |
| done |
First you should set kibana.yaml:
server.basePath: "/kibana"
Don't change server.rewriteBasePath: false
Then change Caddyfile:
192.168.10.1:80
| Cannot find source file: | |
| ... /libraries/cmake/source/libarchive/src/libarchive/archive_acl.c | |
| Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm | |
| .hpp .hxx .in .txx | |
| Call Stack (most recent call first): | |
| libraries/cmake/source/libarchive/CMakeLists.txt:182 (libarchiveMain) | |
| CMake Error at libraries/cmake/source/libarchive/CMakeLists.txt:136 (add_library): |
本文记录使用Big Sur测试版遇到的坑及解决办法。
brew upgrade下载完成安装包后,提示 MethodError: undefined method 'path' for nil:NilClass, Did you mean? paths
参考: rbenv/ruby-build#1434 , 安装beta版Command Line Tools即可。
| 默认为command+shift+w,在系统偏好设置--键盘--快捷键--App快捷键--选择添加Google Chrome--关闭窗口 按下其他快捷键,默认快捷键就会失效。 |
sudo vim /etc/pam.d/sudo
添加 auth sufficient pam_tid.so 到首行。
iTerm2:
关掉 Preferences > Advanced > Allow sessions to survive logging out and back in