AK
webservice:
build:
context: _webs/
dockerfile: Dockerfile
container_name: webservice
ports:
- "5000:5000"
Size: a a a
AK
webservice:
build:
context: _webs/
dockerfile: Dockerfile
container_name: webservice
ports:
- "5000:5000"
AK
AK
AK
DT
AK
Building webservice
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
AK
AK
AK
version: "3"
services:
nginx:
container_name: nginx
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf
webservice:
container_name: webservice
build:
context: ./webservice/
dockerfile: Dockerfile
ports:
- "5000:5000"
AK
ctf@ctf:/tmp/Учебные стенды$ ls -lah
total 20K
drwxrwxr-x 4 ctf ctf 4.0K Mar 11 17:58 .
drwxrwxrwt 14 root root 4.0K Mar 11 18:06 ..
drwxrwxr-x 2 ctf ctf 4.0K Mar 11 17:58 conf
-rwxrwxr-x 1 ctf ctf 539 Mar 11 17:58 docker-compose.yml
drwxrwxr-x 7 ctf ctf 4.0K Mar 11 18:06 webservice
AK
AK
AK
fs
fs
AK