Skip to content
Menu
Witold Ciżmowski Witold Ciżmowski
  • knowledge
  • kontakt
  • o mnie
Witold Ciżmowski Witold Ciżmowski

Share Buttons

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Docker – instalacja

Posted on 22 września 20186 stycznia 2019 by admin
Share this...
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Docker -> instalacja

Hej,

Oczywiście pod Linuksem, w dodatku Ubuntu.

Kilka komend i mamy ale dla wyjaśnienia: ja to instalowałem pod Mintem i dodatkowo aby zadziałało bez problemu, w pliku : /etc/apt/sources.list.d/additional-repositories.list musiałem podmienić „rosa” na „trusty”. Potem kolejno wg oryginalnej dokumentacji:

SET UP THE REPOSITORY

  1. Update the apt package index:
    $ sudo apt-get update
    
  2. Install packages to allow apt to use a repository over HTTPS:
    $ sudo apt-get install \
        apt-transport-https \
        ca-certificates \
        curl \
        software-properties-common
    
  3. Add Docker’s official GPG key:
    $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    

    Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.

    $ sudo apt-key fingerprint 0EBFCD88
    
    pub   4096R/0EBFCD88 2017-02-22
          Key fingerprint = 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
    uid                  Docker Release (CE deb) <docker@docker.com>
    sub   4096R/F273FCD8 2017-02-22
    
  4. Use the following command to set up the stable repository. You always need the stable repository, even if you want to install builds from the edge or test repositories as well. To add the edge or test repository, add the word edge or test (or both) after the word stable in the commands below.

    Note: The lsb_release -cs sub-command below returns the name of your Ubuntu distribution, such as xenial. Sometimes, in a distribution like Linux Mint, you might need to change $(lsb_release -cs) to your parent Ubuntu distribution. For example, if you are using Linux Mint Rafaela, you could use trusty.

    $ sudo add-apt-repository \
       "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
       $(lsb_release -cs) \
       stable"
    

    Note: Starting with Docker 17.06, stable releases are also pushed to the edge and test repositories.

    Learn about stable and edge channels.

INSTALL DOCKER CE

  1. Update the apt package index.
    $ sudo apt-get update
    
  2. Install the latest version of Docker CE, or go to the next step to install a specific version:
    $ sudo apt-get install docker-ce

 

Źródła: https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository

Dodaj komentarz Anuluj pisanie odpowiedzi

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *

Tagi

alien (1) bootstrap (1) bootstrap 4 (1) branch (1) chmod (2) darmowe szablony (1) deb (1) dropbox (1) dystrybucje linux (1) ECDSA (1) ElasticSearch (1) elk (1) FielZilla install Linux (1) FileZilla (2) Filezilla install (1) gałąź (1) git (2) git extras (1) htaccess (1) http (1) https (1) ilość plików (1) kod (1) konwersje (1) Linux (9) Log stash (1) monitoring systemu (1) montowanie dysku (1) montowanie katalogu (1) montowanie zasobu (1) no password (1) opensuse (1) password (1) php (5) php 5.x to 7.x (1) php7 (1) php 7. (1) php 7.3 (1) php 7.x (2) pliki (1) prawa plików (1) programowanie (1) rpm (1) ssh (2) szablony stron www (1)

kategorie

  • Bez kategorii (4)
  • Cloud computing (2)
  • devops (6)
  • git (1)
  • Linux (34)
  • Nowe technologie (7)
  • Ogólne (28)
  • php (2)
  • PhpStorm (5)
  • Programowanie (23)
  • Projektowanie (5)
  • Web Dev (10)
  • Windows 10 (1)
  • Wszystkie wpisy (59)

Tagi

alien bootstrap bootstrap 4 branch chmod darmowe szablony deb dropbox dystrybucje linux ECDSA ElasticSearch elk FielZilla install Linux FileZilla Filezilla install gałąź git git extras htaccess http https ilość plików kod konwersje Linux Log stash monitoring systemu montowanie dysku montowanie katalogu montowanie zasobu no password opensuse password php php 5.x to 7.x php7 php 7. php 7.3 php 7.x pliki prawa plików programowanie rpm ssh szablony stron www
©2022 Witold Ciżmowski | Powered by WordPress & Superb Themes