Skip to content

error decoding 'Ports': Invalid hostPort: 端口号 #238

Answered by qwqcode
xiamuguizhi asked this question in Q&A
Discussion options

You must be logged in to vote

可以提供一下docker-compose.yml文件吗

我是复制官网的教程的 !

version: "3.5"
services:
  artalk:
    container_name: artalk
    image: artalk/artalk-go
    ports:
      - 端口号:23366
    volumes:
      - ./data:/data

因为Docker Compose 一直不成功,我现在换回了 Docker 了!

这个只要替换一下 端口号 为一个端口号 (数字) 就 OK 了哦

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@qwqcode
Comment options

@xiamuguizhi
Comment options

@qwqcode
Comment options

Answer selected by qwqcode
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants