Go to documentation repository
Page History
To install Aby zainstalować Docker on na Ubuntu, do the followingwykonaj następujące kroki:
Update the listsZaktualizuj listy.
Code Block sudo apt-get update
Install the packages to use the repository via HTTPSZainstaluj pakiety do użytku z repozytorium poprzez HTTPS.
Code Block $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
Add the official Dodaj oficjalny klucz Docker GPG key.
Code Block $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
- Set up the repositoryPrzygotuj repozytorium:
for dla architektury x86_64 / amd64 architecture:
Code Block $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
for armhf architecturedla architektury armhf:
Code Block $ sudo add-apt-repository \ "deb [arch=armhf] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
Update the listsZaktualizuj listy.
Code Block sudo apt-get update
Install the Zainstaluj docker-ce.
Code Block sudo apt-get install docker-ce
Check the current version of Sprawdź obecną wersję docker-compose and upgrade it to the latest version, if necessary, a następnie, jeśli jest to konieczne, zaktualizuj do najnowszej wersji.
Code Block sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
Set the access permissionsUstal uprawnienia dostępu.
Code Block sudo chmod +x /usr/local/bin/docker-compose
Check the installation and version of Sprawdź instalację oraz wersję docker-compose.
Code Block docker-compose --version
Add the user to Dodaj użytkownika do Docker.
Code Block sudo usermod -aG docker user
Install the Zainstaluj Mercurial.
Code Block sudo apt-get install mercurial
Add to the hgrc fileDodaj do pliku hgrc
Code Block sudo nano ~/.hgrc
the followingnastępujące linie:
Code Block [ui] tls = False
Clone the repositorySklonuj repozytorium.
Code Block hg clone https://bitbucket.org/Axxonsoft/axxonnext.docker /home/pc/axxonnext.docker
Update the repository if necessaryJeśli jest to konieczne, zaktualizuj repozytorium.
Code Block cd axxonnext.docker hg pull -u
Restart the OSUruchom system operacyjny ponownie.
Code Block sudo reboot