Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To install the Docker on Ubuntu, do the followingPara instalar Docker en Ubuntu, siga estos pasos:

  1. Prepare the environment:el entorno:
    1. Instale los paqeutes para utilizar el repositorio mediante HTTPS.

      sudo

    2. Install the packages to use the repository via HTTPS.

      Code Blocksudo

      apt-get

      install

      apt-transport-https

      ca-certificates

      curl

      gnupg2

      software-properties-common


    3. Add the official Añada la clave de Docker GPG keyoficial.

      code

      curl

      -fsSL

      |

      sudo

      apt-key

      add

      -

      Code Block


      sudo

      apt-key

      fingerprint

      <0EBFCD88>


    4. Configure the repositoryel repositorio:
      1. for the para la arquitectura x86_64 / amd64 architecture.

        code

        :

        sudo

        add-apt-repository

         "deb

        [arch=amd64]

         $(lsb_release

        -cs)

        stable"

        for the armhf architecture.

        code


      2. para la arquitectura armhf:

        sudo

        add-apt-repository

         "deb

        [arch=armhf]

         $(lsb_release

        -cs)

        stable"

      Update the lists.

      code

    5. Actualice las listas.

      sudo

      apt-get

      update


  2. Install and Instale y configure the Docker:

    1. Install Instale docker-ce.

      Code Block

      sudo

      apt-get

      install

      docker-ce

      docker-compose


    2. Add a user to the Añada un usuario a Docker.

      Code Block

      sudo

      adduser

      user

      docker


    3. Install Instale git.

      code

      sudo

      apt-get

      install

      git

      gettext

      gettext


    4. Diríjase al directorio donde se ubicará el contenedor.

      cd

      Go to the directory where the container will be located.

      Code Blockcd

      /home


    5. Clone the repositoryel repositorio.

      Code Block

      git

      clone


    6. Update the repositoryActualice el repositorio:
      1. Go to Diríjase a la carpeta axxonone.docker folder.

        Code Block

        cd

        axxonone.docker


      2. Download content from Descargue el contenido desde git.

        code

        git

        pull


  3. Install the containerInstale el contenedor:
    1. Place the downloaded .deb packages in the Coloque los paquetes .deb descargados en la carpeta /server/build folder of the containerdel contenedor.

      Code Block

      mv

      /home/user/Downloads/axxon-*

      /home/axxonone.docker/server/build/


    2. Start building the containerInicie la construcción del contenedor.

      Code Block

      cd

      /home/axxonone.docker/server

      Restart OS after the container is built.

      Code Block
      sudo reboot


    3. Reinicie el SO una vez haya construido el contenedor.

      sudo reboot


Docker se ha instalado en The Docker is installed on Ubuntu.