Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions containers/docker/.gitignore

This file was deleted.

77 changes: 0 additions & 77 deletions containers/docker/Dockerfile

This file was deleted.

94 changes: 0 additions & 94 deletions containers/docker/README.md

This file was deleted.

1 change: 1 addition & 0 deletions unikernels/unikraft-cu/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bin/
recording/
2 changes: 1 addition & 1 deletion unikernels/unikraft-cu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ COPY --from=xorg-deps /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xor
COPY image-chromium/ /
COPY ./wrapper.sh /wrapper.sh

# copy the kernel-images API binary built by build.sh
# copy the kernel-images API binary built externally
COPY bin/kernel-images-api /usr/local/bin/kernel-images-api
ENV WITH_KERNEL_IMAGES_API=false

Expand Down
19 changes: 5 additions & 14 deletions unikernels/unikraft-cu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ This deploys headful Chromium on a unikernel. It also exposes a remote GUI throu
`export UKC_METRO=<region> and UKC_TOKEN=<secret>`

## 3. Build the image
`./build.sh`
`./build-unikernel.sh`

## 4. Run it
`./run.sh`
`./run-unikernel.sh`

When the deployment finishes successfully, the Kraft CLI will print out something like this:
```
Expand All @@ -36,7 +36,7 @@ Deployed successfully!

### 3.1 Deploy the Implementation with WebRTC desktop streaming enabled
```sh
ENABLE_WEBRTC=true NEKO_ICESERVERS=xxx ./run.sh
ENABLE_WEBRTC=true NEKO_ICESERVERS=xxx ./run-unikernel.sh
```

`NEKO_ICESERVERS`
Expand Down Expand Up @@ -111,17 +111,8 @@ const browser = await chromium.connectOverCDP(finalWSUrl);
You can also run the Dockerfile directly as a docker container:

```sh
docker build -t kernel-docker .
docker run -d \
-p 8080:8080 \
-p 9222:9222 \
--cap-add SYS_ADMIN \
-p 56000-56100:56000-56100/udp \
-e ENABLE_WEBRTC=true \
-e CHROMIUM_FLAGS="--no-sandbox --disable-dev-shm-usage --disable-gpu --start-maximized --disable-software-rasterizer --remote-allow-origins=* --no-zygote" \
-e NEKO_WEBRTC_EPR=56000-56100 \
-e NEKO_WEBRTC_NAT1TO1=127.0.0.1 \
kernel-docker
./build-docker.sh
./run-docker.sh
```

## 📞 WebRTC Notes
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading