Skip to content

Instantly share code, notes, and snippets.

@daparic
Created April 20, 2023 10:23
Show Gist options
  • Save daparic/1f1be62a565aa6f06cc250bdd88e7055 to your computer and use it in GitHub Desktop.
Save daparic/1f1be62a565aa6f06cc250bdd88e7055 to your computer and use it in GitHub Desktop.
# Turn off vbox Ubuntu guest
# Go to vbox guest settings then create/attach disc to it
# Turn on vbox guest
lsblk -fs # find /dev/sd? and its UUID
sudo mkfs.ext4 /dev/sd?
UUID=f6d532c9-5638-468e-9868-b7642f25760b /mnt ext4 defaults,errors=remount-ro 0 1
@daparic
Copy link
Author

daparic commented May 29, 2023

Befor installing NVIDIA sdkmanager deb installer: sudo apt --fix-broken install

@daparic
Copy link
Author

daparic commented Jun 4, 2023

Ubuntu 22.04 docker setup:

sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-cache policy docker-ce
sudo apt install docker-ce -y
sudo systemctl status docker
sudo usermod -aG docker dx

Create if missing: sudo vi /etc/docker/daemon.json:

{
  "data-root": "/mnt"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment