Skip to content

abhinavyarragunta/SET_2024-25

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use Docker

Installation

Make sure you have Docker installed and make an account: https://docs.docker.com/engine/install/

Execute make sure you have the application running and authenticated on your machine and that the Docker engine is running.

sudo docker login

Making a Docker Image from a Local Machine

Make sure that you are working in a repository with a DockerFile, then run the following command to build a Docker Image.

docker build -t <local-image-name> .
docker tag <local-image-name>:<local-tag> mannvika/set:tag

Making a Docker image from a DockerHub Repository

Pull the docker repository using this command:

docker pull mannvika/set:tag

Creating/Running a Docker Container

If you need to, find the docker image name that you created by running:

docker images

Then run the docker, which creates a container using the following command:

sudo docker run -it --rm --network host --device /dev/video0:/devideo0 --privileged -p 8000:8000 mannvika/set:test

Commiting Changes

After you have confirmed your changes, commit to your branch on github, navigate to the Actions tab, select the Build and Push Docker Image tab on the right-hand side, then click the Run workflow dropdown menu, select a branch to build, then click run workflow.

SSHing into Jetson

run on Jetson:

ngrok config add-authtoken YOUR_NGROK_AUTH_TOKEN
ngrok tcp 22

Run on maching sshing:

ssh ufset@8.tcp.ngrok.io -p <port>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.6%
  • Dockerfile 12.4%