Docker install

From wiki.ferrari.mo.it
Revision as of 08:56, 16 September 2026 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The PC was installed and fully updated, Ubuntu Desktop 26.04.

curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Come fare girare react su docker

1) Installare nvm:

curl -o https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source /.bashrc

2) Installare nodejs 24:

nvm install 24
npm install vite

3) Compilare:

npm run build