dockur / windows

Windows inside a Docker container.
MIT License
17.24k stars 1.47k forks source link

container wont start after intial startup phase #733

Open TheRanker opened 1 week ago

TheRanker commented 1 week ago

Operating system

debian 12

Description

starting the container gives no errors.. docker ps shows its not runnign and its exited. logs show....

root@TheRanker:~# docker logs dda /usr/bin/tini: invalid option -- '-' tini (tini version 0.19.0) Usage: tini [OPTIONS] PROGRAM -- [ARGS] | --version

Execute a program under the supervision of a valid init process (tini)

Command line options:

--version: Show version and exit. -h: Show this help message and exit. -s: Register as a process subreaper (requires Linux >= 3.4). -p SIGNAL: Trigger SIGNAL when parent dies, e.g. "-p SIGKILL". -v: Generate more verbose output. Repeat up to 3 times. -w: Print a warning when processes are getting reaped. -g: Send signals to the child's process group. -e EXIT_CODE: Remap EXIT_CODE (from 0 to 255) to 0. -l: Show license and exit.

Environment variables:

TINI_SUBREAPER: Register as a process subreaper (requires Linux >= 3.4). TINI_VERBOSITY: Set the verbosity level (default: 1). TINI_KILL_PROCESS_GROUP: Send signals to the child's process group.

Docker compose

docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows

Docker log

see screenshot

Screenshots (optional)

image

U-L-M-S commented 6 days ago

@TheRanker would you please provide us your docker-compose.yml ? :smile:

TheRanker commented 6 days ago

I never created one and never used Docker compose at that time.

I'm tossing it up to a bad download of some sort.

I've since reinstalled win11 and got it working using Docker compose and a compose.yaml

At first I basically copied the command and entered it. Then I learned more about it.

Also found out the device for KVM had to be changed . Had to be duplicated like it was proposed by someone else in another issue on here.