Podman

Initiatlize podman machine #

# Initiatlize podman machine with mount point
podman machine init --cpus=4 --disk-size=60 --memory=6096 -v "${HOME}/Development":/development

# Initiatlize podman machine without mount point
podman machine init --cpus=4 --disk-size=60 --memory=6096

# Start podman machine
podman machine start

Codesmith Specific Commands #

# Start codemsith container
podman run -i -d -p 2222:22 -v /development:/development --name codesmith --privileged ghcr.io/deepakavanthi/codesmith-arm:latest

# Connect into codesmith container
podman exec -it codesmith zsh

# Start SSH Service
service ssh start

# Get SSH Root password
cat ~/.rootpass

# Copy SSH Id
ssh-copy-id root@127.0.0.1

# Copy specific SSH Id
ssh-copy-id -i ~/.ssh/id_rsa root@127.0.0.1