• Saltar a la navegación principal
  • Saltar al contenido principal
  • Saltar al pie de página
labarta

Labarta

  • Plugins WordPress
    • Plugins Premium
    • Plugins gratuitos
    • Preguntas frecuentes
  • Quién soy
  • Contáctame
  • Blog
  • Ayuda

Cómo utilizar Stacks de Portainer con Docker

01/07/2021

portainer

Cómo utilizar Stacks de Portainer con Docker

 

Antes de proceder a hacer la instalación de esta herramienta, vamos a ver:

¿Qué es Portainer?

 

Portainer  es un poderoso conjunto de herramientas de administración (de código abierto) que te permite construir, administrar y mantener fácilmente entornos Docker.

Ya hay varios artículos en este sitio web sobre Portainer, por ello no voy a volver a repetir lo que puedes consultar en:

Instalar WordPress desde Portainer con Docker

Instalar Portainer con Docker en Raspberry Pi 4

Administrar Docker con Portainer

Pero vamos a partir haciendo una instalación nueva de Portainer, también te dejo el enlace para que puedas consultar su documentación.

 

Instalación de Portainer:

 

Para proceder a instalar Portainer  con docker-compose  vamos a utilizar github para descargar la aplicación.

Descargamos el archivo, lo descomprimimos y le cambiamos el nombre a "portainer" para hacerlo más corto.

Instalamos esta carpeta dentro de la carpeta "docker" de nuestro servidor.

La subiremos usando Filezilla.

También podemos realizar esto con este simple comando dentro de la carpeta "docker" de nuestro servidor.

git clone https://github.com/jmlcas/portainer

 

Ahora solo nos queda poner la aplicación en marcha con el comando habitual:

docker-compose up -d

 

Después en el navegador iremos a:

"Localhost:9000" o bien "IP:9000" para acceder desde otro PC en la misma red wifi. 

Y veremos la página de login.

Entramos en la aplicación y nos vamos al menú Stacks.

 

Instalación de WordPress utilizando Stacks de Portainer:

 

Para proceder a instalar WordPress  con stacks  vamos a utilizar github para copiar el docker-compose.yml  que pegaremos en stacks  según vemos:

 

stacks-1


Ahora solo nos queda poner la aplicación en marcha con el botón Deploy the stack.

 

Después en el navegador iremos a:

"Localhost:8001" o bien "IP:8001" para acceder desde otro PC en la misma red wifi. 

Y ya podemos proceder a hacer la instalación de WordPress.

 

La principal ventaja de utilizar este sistema es que si eliminas el contenedor siempre te queda el stack con el archivo docker-compose.yml  y a partir de ahí puedes volver a hacer otra nueva instalación.

O sea, como si tuvieras una copia de seguridad de tus archivos docker-compose.

 

Ahora tu eliges como hacer las instalaciones de aplicaciones Docker.  

 

Si aún te quedan dudas mira este vídeo:

 


Si te ha gustado este artículo, por favor, comparte - Gracias -


 

Artículos Relacionados

  • zimaboard ZimaBoard 832 la mejor alternativa a Raspberry Pi 4
  • portada-kasm-2 Cómo instalar Kasm Workspace con Docker usando un script
  • portada-organizr-2 Cómo instalar Organizr usando Docker-compose
  • portada-budgetzero-2 Cómo instalar Budgetzero + CouchDB usando Docker-compose

Blog,  Docker docker,  docker-compose

  • Todas las entradas
  • Vídeos Docker
  • Meetup WordPress
  • Vídeos Plugins
  • Vídeos entrevistas
  • Dominios
  • Hosting
  • Avisos Legales
  • Política de privacidad
  • Política de cookies

Footer

SWHOSTING - Cloud server

swhosting-vps

GeneratePress - Tema WordPress

GeneratePress

OnlyOffice - Online Office

Usamos ONLYOFFICE Online Office

Ayuda a mantener el blog:

Si te sirven de ayuda los artículos que publico en el blog, de esta forma puedes contribuir a mantener el mismo.

GRACIAS


Copyright © 2023 · Labarta - Powered by : Labarta

Usamos cookies en nuestro sitio web para brindarle la experiencia más relevante recordando sus preferencias y visitas repetidas. Al hacer clic en “Aceptar todo”, acepta el uso de todas las cookies. Sin embargo, puede visitar "Configuración cookies" para proporcionar un consentimiento controlado.
Configuración cookiesAceptar todo
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Siempre activado
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDuraciónDescripción
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
GUARDAR Y ACEPTAR