zypdominate1 最近的时间轴更新
zypdominate1

zypdominate1

V2EX 第 491150 号会员,加入于 2020-05-24 01:10:34 +08:00
今日活跃度排名 2901
zypdominate1 最近回复了
@gray0 卧槽,大佬,你太牛逼了,来在深夜的感慨,本来都准备放弃了。感谢~

```
docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
e6590344b1a5: Pull complete
Digest: sha256:ec153840d1e635ac434fab5e377081f17e0e15afab27beb3f726c3265039cfff
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/

For more examples and ideas, visit:
https://docs.docker.com/get-started/
```
@capric 貌似不支持代理?

wsl -d Ubuntu hostname -I
wsl: 检测到 localhost 代理配置,但未镜像到 WSL 。NAT 模式下的 WSL 不支持 localhost 代理。
172.20.107.81 172.17.0.1 172.18.0.1
@Lemonadeccc win 上的梯子开代理,在 wsl 中也没法 pull image 。总之,都试过了,累了
@dcsuibian 还是不行,不知道是不是我配置的有问题,我是在自己个人电脑上使用的。代理的地址要怎么配置才好,对代理不太懂。
```
cat http-proxy.conf

[Service]
Environment="HTTP_PROXY=http://192.168.1.100:8080" # HTTP 代理
Environment="HTTPS_PROXY=http://192.168.1.100:8080" # HTTPS 代理
Environment="NO_PROXY=localhost,127.0.0.1,10.0.0.0/8,.internal" # 直连的地址
mag@Mag:/etc/systemd/system/docker.service.d$ cd -
/home/mag/tools/mysql-docker

mag@Mag:~/tools/mysql-docker$ sudo systemctl daemon-reload
mag@Mag:~/tools/mysql-docker$ sudo systemctl restart docker

mag@Mag:~/tools/mysql-docker$ docker-compose up
Pulling db (mysql:8.0)...
ERROR: Get "https://registry-1.docker.io/v2/": proxyconnect tcp: dial tcp 192.168.1.100:8080: connect: no route to host


docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": proxyconnect tcp: dial tcp 192.168.1.100:8080: connect: no route to host
```
234 天前
回复了 lihaoyang006 创建的主题 分享创造 做了一个 AI 播客工具网站
可以做成 app 嘛,感觉很棒。
对了,想提个需求,在 Transcript 板块,
- 单击某个单词,可以弹出翻译等;
- 双击单词,从当前开始播放;
234 天前
回复了 lihaoyang006 创建的主题 分享创造 做了一个 AI 播客工具网站
好厉害啊
243 天前
回复了 thorby 创建的主题 问与答 人到中年,一生中最后悔的事是什么?
@mlhorizon #14 终于遇到共鸣的人了,不容易
244 天前
回复了 dc46555ad 创建的主题 问与答 Windows PDF 阅读器推荐
@since2021 编辑后,好像没法保存文件
@frostming #5 老哥,想请教一下,这个是怎么编的,我试了下,sphinx 只能生成在线文档吧,怎么弄 pdf 文件的?

最后几步
sphinx-intl build
make.bat latex
cd _build/latex
"D:\Program Files\MiKTeX\miktex\bin\x64\pdflatex" django.tex
有些不兼容的报错,没生成 pdf

用 sphinx 生成本地文档浏览倒是可以。
270 天前
回复了 tortorse 创建的主题 VXNA 申请收录个人博客: 愆伏
老哥可以留一个 github.io 仓库地址嘛,谢谢,想看看具体的配置
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2866 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 03:29 · PVG 11:29 · LAX 20:29 · JFK 23:29
Developed with CodeLauncher
♥ Do have faith in what you're doing.