Merge branch 'main' of https://git.ourworld.tf/tfgrid/www_projectmycelium_io
This commit is contained in:
commit
d15c3cd138
@ -24,6 +24,16 @@ We provide the steps to prepare a Docker Ubuntu container to work with Hero and
|
||||
sudo docker run -it --net=host --name=hero-container -v ~/code:/root/code ubuntu:latest /bin/bash
|
||||
```
|
||||
|
||||
- If you want to set up the SSH key, do the following:
|
||||
- Create Directory .ssh in container
|
||||
```
|
||||
mkdir -p ~/.ssh
|
||||
```
|
||||
- Copy SSH keys to container from local machine (use the proper path and key type)
|
||||
```
|
||||
sudo docker cp ~/.ssh/id_ed25519 hero-container:/root/.ssh/id_ed25519
|
||||
sudo docker cp ~/.ssh/id_ed25519.pub hero-container:/root/.ssh/id_ed25519.pub
|
||||
```
|
||||
- Execute all commands directly in the container
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user