You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Note: The full image is larger and may take longer to download, but it includes everything you need to get started with the UnityChip tutorial environment.
42
42
43
+
3. How to run the image
44
+
45
+
Start with shell access:
46
+
```sh
47
+
# 1. If shell is enough for you, run the image with the following command:
48
+
docker run -it --network host ghcr.io/xs-mlvp/envfull:latest
49
+
# 2. If you want to use ssh or vscode remote development, run this command in the container:
50
+
sudo service ssh start
51
+
```
52
+
> Note: The `--network host` flag allows the container to use the host's network stack. This is useful for accessing services running on the host machine.
53
+
54
+
Start with SSH access:
55
+
```sh
56
+
# 1. If you want to use ssh or vscode remote development, run the image with the following command:
57
+
docker run -itd --network host ghcr.io/xs-mlvp/envfull:latest sudo /usr/sbin/sshd -D
58
+
# 2. SSH into the container (security reason: /etc/ssh/sshd_config is set to only listen to localhost)
59
+
ssh -p 51202 user@localhost # password: user
60
+
# 3. (Optional) If you are running container on a remote server, you can use the following command port forwarding when connecting to the remote server:
> Note: The container ssh port is hardcoded to 51202, so you need to specify this port when connecting. The default password is `user`. You can change it by modifying the Dockerfile or the sshd_config file in the container. The `-D` flag runs the SSH daemon in the foreground, which is necessary for the container to keep running.
64
+
43
65
### Build Your Own Image 🔨
44
66
45
67
If you want to build your own image, you can use the provided Dockerfile. This is useful if you want to customize the environment or add additional tools.
0 commit comments