• HOME
  • ANDROID
    • ANDROID-APP
    • ANDROID-DEVELOPER
    • FIREBASE
  • SOFTWARE LIBREA
  • IRAKASKUNTZA
  • AMARAUNA SAIOA
  • NIRI BURUZ
Docker logo

Introduction to Docker container

2017-03-21 Developer SysAdmin

Docker is an open source software tool designed to make it easier to create, deploy, and run applications by using containers. With Docker you can have a simple develop environment in a few minutes and when you finished your project you can deploy it in your server in a few minutes too. Fast and easy.

Real case:

Your are going to develop a new WordPress, so you need install different tools in your computer as WordPress, Apache, MariaDB and PHP. In the best case you can choose to install XAMPP solutions. That’s good, but Docker container is better. Why?

Because without Docker container if you don’t want to have problems when you deploy your project, you need have the same software version in your develop environment and in your server production. Some times this is simple because your production server is your own server and you only have to deploy one project. But, if you have a lot of projects in your server, maybe you need to install specific version for each project and that can become a headache for you or for your system administrator. For this reason, use docker container is a good idea.

In this case, develop WordPress, you have two (or more) options.

  1. Use a container with everything you need. WordPress, Apache, MariaDB and PHP. Develop your project and deploy the container.
  2. Use three containers. One for WordPress-Apache, other for MariaDB and other for PHP.

In my opinion any decision is good but I prefer the second because I think that it is more versatile and manageable in the future .Then, when you finished your project, you just need to upload yours containers and run them. Everything should work fine.

Docker container

Iruzkinak

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

FITXATEGIA

Hilabetea aukeratu
  • January 2021
  • December 2020
  • November 2020
  • May 2020
  • April 2020
  • June 2018
  • November 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2017
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • February 2015
  • January 2014
  • October 2013
  • September 2013
  • August 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • November 2012
  • October 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • July 2008
  • June 2008
  • May 2008

Identitateak

  • Facebook
  • Linkedin
  • Mastodon
  • Twitter
  • Web pertsonala

Proiektuak

  • Bizitokitik – Desde Casa
  • Paper-Simple-Blog
  • WP-labur
  • WP-polr

Baliabideak

  • Gist
  • GItHub

Kolaborazioak

  • Euskadi Irratiia – Amarauna
  • Gaztezulo
Logo Creative Commons Creative Commons. Aitortu-PartekatuBerdin 3.0
Kontaktua