dusty-nv / jetson-containers

Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
MIT License
2.09k stars 435 forks source link

How do I install Docker compose on Jetson Orin? #354

Open sibyjackgrove opened 8 months ago

sibyjackgrove commented 8 months ago

I want to run multiple containers on Jetson Orin. It seems docker-compose is the recommended way by docker for this. Is this true, or is there another method more suitable for Jetson Orin devices? If docker-compose is the way to go, could you point me to any documentation on the recommended installation procedure for docker-compose?

I found the documentation from DigitalOcean to be the most easy to follow: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04

Could anyone please confirm if the the above instructions will work with Jetson?

dusty-nv commented 8 months ago

Hi @sibyjackgrove, I've not personally used docker-compose, but I know that @rbonghi and others from the Jetson developer forums have

sibyjackgrove commented 8 months ago

@rbonghi Could you let me if you have used docker-compose on Jetson devices? Also, could you please point to any documentation on how to install it on Jetson?

dusty-nv commented 8 months ago

@sibyjackgrove it would not appear different than the normal way to install docker-compose with pip:

rbonghi commented 8 months ago

Hi all, It's pretty simple! Follow the official documentation https://docs.docker.com/compose/install/linux/#install-using-the-repository (if needed, you can also reinstall docker following the official documentation)

sibyjackgrove commented 8 months ago

Hi all, It's pretty simple! Follow the official documentation https://docs.docker.com/compose/install/linux/#install-using-the-repository (if needed, you can also reinstall docker following the official documentation)

Thanks for the link. I tried the following command according to the official documentation. sudo apt-get install docker-compose-plugin But I am getting the following error:

E: Unable to locate package docker-compose-plugin Could you suggest a solution I could try?

johnnynunez commented 8 months ago

https://hackmd.io/R0tDEhBYTZSaEHpIQYh_Zg

rbonghi commented 8 months ago

Hi @sibyjackgrove, you can also reinstall the latest Docker from the official documentation. https://docs.docker.com/desktop/install/ubuntu/

Remember after to reinstall nvidia docker

sibyjackgrove commented 8 months ago

Hi @sibyjackgrove, you can also reinstall the latest Docker from the official documentation. https://docs.docker.com/desktop/install/ubuntu/

Remember after to reinstall nvidia docker

Thank you, I will try it out. THough I wish there was a way to do it without having to reinstall the nvidia docker and potentially break something on Jetson.