We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.04
ERROR: failed to solve: dockerfile parse error on line 1: unknown instruction: s ervices:
docker build .
not find
No response
The text was updated successfully, but these errors were encountered:
You made a type somewhere, because it mentions s ervices (with an additional space). Also, you dont need to run docker build .
s ervices
Sorry, something went wrong.
No branches or pull requests
Operating system
Ubuntu 22.04
Description
Dockerfile
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "win10"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
restart: always
stop_grace_period: 2
docker build .
sebastien@ubuntu-srv:
$ nano Dockerfile$ docker build .sebastien@ubuntu-srv:
[+] Building 0.0s (1/1) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 356B 0.0s
Dockerfile:1
1 | >>> services:
2 | windows:
3 | image: dockurr/windows
ERROR: failed to solve: dockerfile parse error on line 1: unknown instruction: s ervices:
Docker compose
docker build .
Docker log
not find
Screenshots (optional)
No response
The text was updated successfully, but these errors were encountered: