xxx@xxx-laptop:~/Web$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
372cba208ecb pasteme/frontend:3.4.2 "/docker-entrypoint.…" 15 minutes ago Up 15 minutes (healthy) 80/tcp, 0.0.0.0:80->8080/tcp, :::80->8080/tcp pasteme-frontend
fed62b2f2bb0 pasteme/go-backend:3.5.2 "/usr/bin/env sh /us…" 15 minutes ago Up 15 minutes (healthy) 8000/tcp pasteme-backend
24888d1c997a mysql:5.5 "docker-entrypoint.s…" 15 minutes ago Up 15 minutes (healthy) 3306/tcp pasteme-mysql
不能访问 http://localhost:8080
安装完Docker,并docker-compose之后看到的是:
另外,看不到任何 index.html