Mediawiki easy deployment with Docker container

About

The automated build docker Mediawiki system (CMS) image “linuxconfig/mediawiki” can be used to instantly deploy Mediawiki on your docker hosts.

Configuration

The Mediawiki runs on Debian GNU/Linux system featuring Apache web server, MariaDB ( MySQL ), database and PHP5. A new docker container based on “linuxconfig/mediawiki” will expose port 80 which can be linked to the docker host port for an immediate Mediawiki web configuration/installation access.

Read more

How to remove all docker images stored in a local repository

The following linux commands can be used to remove all Docker images stored in your local repository. Be aware that you would not be able to undo any of the removed docker images. First, list all your docker images to make sure that there is nothing you want to remove:

# docker images

Using the following linux command you can obtain image IDs of all your docker images:

# docker images -q

To remove a single docker image simply run docker rmi followed by the image ID. For example:

# docker rmi 9fa0e1f381ad

Read more

kimai time tracker installation docker

Kimai – Time Trakcer installation deployment using Docker

About

Kimai is a free open source timetracker. It tracks the time you spend with various pre-set projects and prints out a summary of your activities on demand. The automated docker Kimai time tracker image “linuxconfig/kimai” can be used to instantly deploy the Kimai time tracker on your docker hosts.

kimai time tracker installation docker

Configuration

The Kimai runs on Debian GNU/Linux system featuring Apache web server, MariaDB ( MySQL ), database and PHP5. After creating a docker container based on “linuxconfig/kimai” docker image, a port 80 will be exposed which can be access on the docker host for an immediate Kimai web configuration/installation as well as later access.

Configured MySQL users:passwords:

  • root:”empty password”
  • admin:”pass”

Configured MySQL databases:

  • kimai

Exposed ports:

  • 80

Deployment

The below command can be used to download and create a new docker container called kimai and link your docker host system’s port 80 with container’s exposed port 80.

# docker run -d --name=kimai -p 80:80 linuxconfig/kimai

Read more

Docker running a container image

Manjaro Linux Docker installation

Docker is a tool that is used to run software in a container. It’s a great way for developers and users to worry less about compatibility with an operating system and dependencies because the contained software should run identically on any system.

Docker is available for download and installation on Manjaro as well as most other distributions of Linux. After Docker is installed, you can use it to install software packages much the same way you would use your distro’s package manager to download an app. The difference of using Docker is that everything is more automated, with compatability and dependencies no longer being potential issues.

In this guide, we’ll show you how to install Docker on Manjaro Linux and get started with installing containerized software.

In this tutorial you will learn:

  • How to install Docker
  • How to run Docker without root
  • How to search for a Docker image
  • How to install a Docker image
  • How to run a Docker image
  • How to monitor Docker with various commands

Read more

Docker on Ubuntu 20.04 LTS Focal Fossa

How to Install Docker On Ubuntu 20.04 LTS Focal Fossa

Docker is a combination of platform as a service products that use virtualization to provide software in packages called containers which can communicate with each other through well-defined channels. This tutorial focuses on Installing the latest Docker release on Ubuntu 20.04 LTS Focal Fossa.

In this tutorial you will learn:

  • How to install Docker from the standard Ubuntu Repository
  • How to enable Docker to start after the system reboot
  • How to allow regular user to administrate Docker

Read more

docker-logo

How to build a docker image using a Dockerfile

Docker skills are high in demand mainly because, thanks to the Docker we can automate the deployment of applications inside so-called containers, creating tailored environments that can be easily replicated anywhere the Docker technology is supported. In this tutorial we will see how to create a Docker image from scratch, using a Dockerfile. We will learn the most important instructions we can use to customize our image, how to build the image, and how to run containers based on it.

In this tutorial you will learn:

  • How to create a docker image using a Dockerfile
  • Some of the most frequently used Dockerfile instructions
  • How to achieve data persistence in containers

Read more

How to Install Docker On Ubuntu 18.04 Bionic Beaver

Objective

Install the latest Docker release on Ubuntu 18.04

Distributions

Ubuntu 18.04 Bionic Beaver

Requirements

A working install of Ubuntu 18.04 with root privileges

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)

Introduction

Docker has revolutionized how web applications are hosted and servers are run. Docker containers allow server administrators to compartmentalize their applications like virtual machines, but containers are much lighter weight, are easier to manager, and add less overhead.

Installing Docker on Ubuntu is very simple. Because Ubuntu is a popular choice for the cloud, the entire process has been streamlined to a science.

Read more

docker_logo

How to create a docker-based LAMP stack using docker-compose on Ubuntu 18.04 Bionic Beaver Linux

Objective

Following this tutorial you will be able to create a LAMP environment using the Docker technology.

Requirements

  • Root permissions
  • Basic knowledge of Docker

Conventions

  • # – requires given linux commands to be executed with root privileges either
    directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)

Introduction

docker_logo
Docker is an open source project aimed at providing software inside containers. You can think of a container as a sort of “package”, an isolated environment which shares the kernel with the host machine and contains everything the application needs. All containers are built using images (the central images repository for them being Dockerhub).

In this tutorial, we will see how to create a LAMP stack based on dockerized components: following the “one service per container” philosophy, we will assemble the environment using docker-compose, a tool to orchestrate container compositions.

Read more

Kubernetes on Ubuntu 18.04

How to install Kubernetes on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Kubernetes on Ubuntu 18.04 Bionic Beaver Linux

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver Linux
  • Software: – Kubernetes v1.10.0

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Scenario

In this guide we will be configuring the simplest possible Kubernetes cluster consisting of two nodes. The first node with hostname kubernetes-master will act as the master node.

The second node with hostname kubernetes-master also running Ubuntu 18.04 will be a slave node simply joining the Kuberneets cluster. Once we get the Kubernetes cluster up and running as a proof of concept we will deploy a Nginx server container.

Conventions

Read more

docker-RHEL 8 / CentOS 8

How to install Docker CE on RHEL 8 / CentOS 8

The latest release of the RHEL 8 / CentOS 8. Red Hat has built its own tools, buildah and podman, which aim to be compatible with existing docker images and work without relying on a daemon, allowing the creation of containers as normal users, without the need of special permissions (with some limitations: e.g. at the moment of writing, it’s still not possible to map host ports to the container without privileges).

Some specific tools, however, are still missing: an equivalent of docker-compose, for example does not exists yet. In this tutorial we will see how to install and run the original Docker CE on Rhel8 by using the official Docker repository for CentOS7.

In this tutorial you will learn:

  • How to enable the docker-ce repository on RHEL 8 / CentOS 8
  • How to install docker and docker-compose on RHEL 8 / CentOS 8

docker-RHEL 8 / CentOS 8

Docker installed on RHEL 8 / CentOS 8

Read more

docker-logo

How to install and configure Docker-ce/Moby Engine on Fedora 32

Even if Red Hat has developed podman and buildah, its own tools to work with containers, which come with some important advantages like a daemonless architecture, you may want to continue using the original Docker software on Fedora. In this tutorial we will explore the options we have on the latest release of the distribution to do so, and will see how to apply the needed fixes for Docker to work correctly.

In this tutorial you will learn:

  • How to install moby-engine
  • How to install docker-ce
  • How to apply the workarounds needed to make Docker run correctly on Fedora 32

Read more