From 3b78918a73772257e6be93c83dfc9a03057df36e Mon Sep 17 00:00:00 2001 From: mik-tf Date: Sun, 17 Nov 2024 15:44:35 +0000 Subject: [PATCH] Update hero_docs/crystallib_hero_basic_docs.md --- hero_docs/crystallib_hero_basic_docs.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hero_docs/crystallib_hero_basic_docs.md b/hero_docs/crystallib_hero_basic_docs.md index 7188e41..06bf0ed 100644 --- a/hero_docs/crystallib_hero_basic_docs.md +++ b/hero_docs/crystallib_hero_basic_docs.md @@ -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 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 ```