Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Docker on PC #10

Open
BeNavon opened this issue Nov 17, 2024 · 2 comments
Open

Installing Docker on PC #10

BeNavon opened this issue Nov 17, 2024 · 2 comments

Comments

@BeNavon
Copy link

BeNavon commented Nov 17, 2024

In the system setup documentation, under Installing the Docker, can I install Docker on a PC instead of on an Nvidia Jetson board?
can I install Docker on a PC instead of on an Nvidia Jetson board?

thanks!

@BeNavon BeNavon changed the title Installing Docker on PC Instead of Nvidia Jetson Board Installing Docker on PC Nov 17, 2024
@Rooholla-KhorramBakht
Copy link
Collaborator

Hi, yes, you can. Clone the repository and open it with your VSCode. Assuming docker Dev Containers extension is installed (in addition to docker engine and NVIDIA container toolkits installed system-wide), you should be able to simply press 'ctrl+shift+p' and run the Rebuild and Reopen in Container command. It will build the docker image and attach your vscode environment into it. Please let me know if it works for you here.

@BeNavon
Copy link
Author

BeNavon commented Nov 26, 2024

Hi, yes, you can. Clone the repository and open it with your VSCode. Assuming docker Dev Containers extension is installed (in addition to docker engine and NVIDIA container toolkits installed system-wide), you should be able to simply press 'ctrl+shift+p' and run the Rebuild and Reopen in Container command. It will build the docker image and attach your vscode environment into it. Please let me know if it works for you here.

I've followed your instructions. When I run the Rebuild and Reopen in Container command, I encounter an error:
image
How should I fix it?

json file:

// https://containers.dev/implementors/json_reference/
{
    "name": "go2py", 
    "dockerComposeFile": "docker-compose.yaml",
    "workspaceFolder": "/home/Unitree/Go2py",
    "service": "go2py",
    "remoteUser": "root", 
    "postCreateCommand": "cd /home/Unitree/Go2py && pip install -e . && make ddscfg",
    "customizations": {
      "vscode": {
        "extensions": [
          "dbaeumer.vscode-eslint", // Existing ESLint extension
          "ms-python.python", // Python extension by Microsoft
          "ms-toolsai.jupyter" // Jupyter extension by Microsoft
        ]
      }
    }
  }

By the way, I prefer to run the docker on Pycharm. Are the instructions different?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants