mention how to install docker-ce
This commit is contained in:
parent
349532ae75
commit
86f93e5dce
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
|
@ -2,9 +2,19 @@
|
||||||
|
|
||||||
this allows you to run a node20(git & choco included) + windows server 2022 + act-runner system with a single command & config files
|
this allows you to run a node20(git & choco included) + windows server 2022 + act-runner system with a single command & config files
|
||||||
|
|
||||||
|
# setup
|
||||||
|
you need docker, i reccomend installing it via
|
||||||
|
```ps1
|
||||||
|
iwr https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1 -outfile install-docker-ce.ps1
|
||||||
|
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
|
||||||
|
.\install-docker-ce.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
(it'll restart once to install container and hyper-v stuff)
|
||||||
|
|
||||||
# mini tutorial
|
# mini tutorial
|
||||||
|
|
||||||
```
|
```ps1
|
||||||
mkdir data
|
mkdir data
|
||||||
|
|
||||||
# here you have to set config.yml to the one that's in this repo
|
# here you have to set config.yml to the one that's in this repo
|
||||||
|
|
@ -17,7 +27,7 @@ docker run -v ./data:C:\data -v '\\.\pipe\docker_engine:\\.\pipe\docker_engine'
|
||||||
--user ContainerAdministrator `
|
--user ContainerAdministrator `
|
||||||
--name act_windows git.sad.ovh/sophie/act-runner-windows-cursed
|
--name act_windows git.sad.ovh/sophie/act-runner-windows-cursed
|
||||||
|
|
||||||
# it'll register and you gotta restart it (click ctrl+c 3 times)
|
# it'll register and you gotta restart it (click ctrl+c 3 times), and make sure to delete it after you restart it, via `docker rm act_windows`
|
||||||
|
|
||||||
# this allows .runner & data & config.yml to be read by the docker container (and also everyone, but whatever, this is a POC atm)
|
# this allows .runner & data & config.yml to be read by the docker container (and also everyone, but whatever, this is a POC atm)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue