---
title: "#docker · 杨秋逸的博客"
description: 浏览标签“docker”下的文章。
canonical_url: "https://yangqiuyi.com/tags/docker"
meta:
  "og:description": 浏览标签“docker”下的文章。
  "og:image": "https://yangqiuyi.com/_og/s/o_7e58fa98b6e89252.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "#docker · 杨秋逸的博客"
  "twitter:image": "https://yangqiuyi.com/_og/s/o_7e58fa98b6e89252.png"
---

> Index of every page on this site: [llms.txt](https://yangqiuyi.com/llms.txt)

# **#docker**

1 篇文章

Mac下Docker访问宿主机端口

最近在公司用 CF Tunnel (for Docker) 的时候报错, 说找不到源服务器, 这才突然想起 Docker 是基于 Linux内核的, 所以大概是不能直接用 localhost 或者 127.0.0.1 来访问宿主机的服务的.

2024年8月22日** #docker**

[Mac下Docker访问宿主机端口](https://yangqiuyi.com/blog/kai-fa/docker/mac-xia-docker-fang-wen-su-zhu-ji-duan-kou)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://yangqiuyi.com/#website","@type":"WebSite","url":"https://yangqiuyi.com/","workTranslation":{"@id":"https://yangqiuyi.com/#website"}},{"@id":"https://yangqiuyi.com/tags/docker#webpage","@type":"WebPage","description":"浏览标签“docker”下的文章。","name":"#docker","url":"https://yangqiuyi.com/tags/docker","isPartOf":{"@id":"https://yangqiuyi.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://yangqiuyi.com/tags/docker"]}]}]}
```

## Sitemap

See the full [sitemap](https://yangqiuyi.com/sitemap.md) for all pages.
