Explore information related to docker

OpenLDAP and phpLDAPadmin on Linux

This article will guide you on how to install #OpenLDAP and phpLDAPadmin on #Ubuntu. Also, we covered the prospective error affacting OpenLDAP and phpLDAPadmin and its solution as well.

#LDAP (Lightweight Directory Access Protocol) is an open and cross platform protocol used for directory services authentication. LDAP provides the communication language that applications use to communicate with other directory services servers.

#Kerberos is used to manage credentials securely (authentication) while LDAP is used for holding authoritative information about the accounts, such as what they're allowed to access (authorization), the user's full name and uid.

To access #phpLDAPadmin:

Point your browser to http://IP_OF_SERVER/phpldapadmin (IP_OF_SERVER is the actual IP address of your LDAP server). 

From the main window, click the login button in the left pane. 

When prompted, you will log into your DN and enter the password for the admin user created during the slapd reconfiguration.

Read More



Node js Application with Docker on Ubuntu

This article will guide you on how to build a Node.js Application with Docker on Ubuntu. npm install downloads a package and it's dependencies. #npm install can be run with or without arguments. When run without arguments, npm install downloads dependencies defined in a package. json file and generates a node_modules folder with the installed modules.

The #docker build command builds Docker images from a Dockerfile and a “context”. 

A build's context is the set of files located in the specified PATH or URL . The build process can refer to any of the files in the context. 

With Dockerfile written, you can build the image using the following command: $ docker build .

Containerizing an #application is the process of making it able to run and deploy under Docker containers and similar technologies that encapsulate an application with its operating system environment (a full system image).

Some Docker #commands:

1. docker run – Runs a command in a new container.

2. docker start – Starts one or more stopped containers.

3. docker stop – Stops one or more running containers.

4. docker build – Builds an image form a Docker file.

5. docker pull – Pulls an image or a repository from a #registry.

Read More



Install SQL Server 2019 on Linux

This article will guide you the process to install #MSSQL Server 2019 on #CentOS 7 and Ubuntu 16.04.

SQL Server 2019 #Developer is a full-featured free edition, licensed for use as a development and test database in a non-production environment.

SQL Server 2019 allows us to integrate data from structured and unstructured data sources. 

We can now process diverse big data and relational data sources using Transact-SQL from SQL Server using PolyBase. 

We can see below PolyBase support external databases.

SQL Server Express can be used in production (beware of the limitations, like the 10GB cap), but according to this link Express is available for Linux. SQL Server Express is available to use in Production.

Starting with SQL Server 2017, SQL Server runs on Linux. It's the same SQL Server database engine, with many similar features and services regardless of your operating system. It's the same SQL Server database engine, with many similar features and services regardless of your operating system.

To run a SQL script in #Linux terminal:

1. Open Terminal and type mysql -u to Open the MySQL command line.

2. Type the path of your #mysql bin directory and press Enter.

3. Paste your #SQL file inside the bin folder of mysql server.

4. Create a #database in MySQL.

5. Use that particular database where you want to import the SQL file.

Read More



Monitor System Metrics with the TICK Stack on CentOS 7

This article will guide you on how the TICK stack can be a powerful tool for storing, analyzing, and visualizing time series data. To monitor InfluxDB _internal metrics in a production #cluster, use Telegraf and the influxdb input plugin to capture these metrics from the InfluxDB /debug/vars endpoint and store them in an external InfluxDB monitoring instance.

More about Kapacitor:

#Kapacitor is a native data processing engine for #InfluxDB 1. x and is an integrated component in the InfluxDB 2.0 platform. 

Kapacitor can process both stream and batch data from InfluxDB, acting on this data in real-time via its programming language TICKscript.

A retention policy (RP) is the part of InfluxDB data structure that describes for how long InfluxDB keeps data. 

InfluxDB compares your local server's timestamp to the timestamps on your data and deletes data that are older than the RP's DURATION . 

A single database can have several RPs and RPs are unique per database.

Read More



Install WordPress with Docker Compose

This article will guide you on how to install WordPress with docker compose.

Docker Hub is an official repository where individuals and organizations can upload Docker images for public consumption.

The reason for using Docker is used to define and start running multi-container Docker applications. You need to define docker-compose. yml for the services that make up your app services. You should run docker-compose up and Compose starts and runs your entire app.

Steps to #Install WordPress with Docker on #Ubuntu 20.04 :

1. Create a Cloud Server. First, log in to yourCloud Server.

2. Install Required #Dependencies.

3. Install Docker.

4. Create a MariaDB #Container.

5. Create a #WordPress Container.

6. Configure #Nginx as a Reverse Proxy.

7. Access WordPress Interface.


To Update WordPress

The docker-compose.yml specifies the latest version of the WordPress image, so it's easy to update your WordPress version:

docker-compose down

docker-compose pull && docker-compose up -d

Read More



Install Firejail in Linux

This article will guide you on steps to #install #Firejail in Linux. Basically, Firejail reduces the risk of security breaches by restricting the untrusted applications and separating them from other parts of the system. 

#Sandboxing involves providing a safe environment for a program or #software so that you can play around with it without hurting your system. It actually keeps your program isolated from the rest of the system, by using any one of the different methods available in the #Linux #kernel.

To Install the Firejail Software:

1. Open up a terminal window.

2. Issue the command sudo apt-get install firejail.

3. Type your sudo password and hit Enter.

4. If prompted, type y to allow the installation to continue.

5. Allow the installation to complete.

Read More



Install Froxlor on CentOS 7

This article will guide you on steps to #install Froxlor on #CentOS 7 and also resolve common Froxlor #errors.
#Froxlor is a simple but powerful server administration #software for managing #domains, emails and files.
To install Froxlor web hosting control panel:
1. Ensure that your webserver serves /var/www.
2. Extract froxlor into /var/www.
3. Point your browser to http://[ip-of-webserver]/froxlor.
4. Follow the #installer.
5. Login as #administrator.
6. Adjust "System > Settings" according to your needs.
7. Choose your distribution under "System > Configuration".
8. Follow the steps for your services.

Read More



Manage Docker Volumes using Docker Compose

This article will guide you on steps to use #Docker #Compose for manging Docker #Volumes.
When you execute a docker-compose command, the volumes #directive in docker-compose. yml file mounts source directories or volumes from your computer at target paths inside the container. If a matching target path exists already as part of the container image, it will be overwritten by the mounted path.
A #Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. Using docker build users can create an automated build that executes several command-line instructions in succession. This page describes the commands you can use in a Dockerfile .
List of Docker #Commands:
i. docker run – Runs a command in a new #container.
ii. docker start – Starts one or more stopped containers.
iii. docker stop – Stops one or more running containers.
iv. docker build – Builds an image form a Docker file.
v. docker pull – Pulls an #image or a repository from a registry.

Read More



Share Data between Docker Containers

This article will guide you on steps to share #data between #docker #containers. To mount a data volume to a container add the --mount flag to the docker run #command. It adds the volume to the specified container, where it stores the data produced inside the virtual 3environment.

From the Docker #host, as Docker Volumes: Volumes are stored in an area of the host filesystem that's managed by Docker. Bind mounts can map to any folder in the host filesystem, so access can't be controlled from a Docker process and can pose a security risk as a container could access sensitive OS folders.

A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.

To copy from Docker to local container:

1. First, set the #path in your localhost to where the file is stored.

2. Next set the path in your docker container to where you want to store the file inside your docker container.

3. Then copy the file which you want to store in your docker container with the help of CP command.

Read More



Deploy Multiple WordPress Applications On Ubuntu

This article will guide you on how to deploy multiple #WordPress applications on #Ubuntu with #Docker.
Docker is a #tool designed to make it easier to create, deploy, and run applications by using #containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other #dependencies, and ship it all out as one package.
The Objectives to deploy a docker container:
1. Package a sample web application into a Docker #image.
2. Upload the Docker image to Container #Registry.
3. Create a GKE #cluster.
4. Deploy the sample #app to the cluster.
5. Manage autoscaling for the deployment.
6. Expose the sample app to the internet.
7. Deploy a new version of the sample app.

Read More



Windows update error 0xFFFFFFFF

This article will guide you on different methods to fix #Windows #error #0xFFFFFFFF. Windows 10 update comes with #BSOD, crashes and various sound and #printer problems. The solution here is to uninstall the patch and pause updates until it's been fixed.

To fix Windows Error Code 0xFFFFFFFF:

1. Fix System Errors. To remove all error from your system that issuing freezing, slower performance problem etc.

2. Remove #Malwares. It can remove #malwares, #virus, #Trojan from #PC which causes all kind of critical issue.

3. Improve Startup. 

4. Clean PC.

You can also fix WIndows Error #0x800705b4:

i. Run Windows #Updates Troubleshooter. 

ii. Run #SFC scan. 

iii. Delete Software Distribution Folder.

iv. Disable updates for other #Microsoft #products. 

v. Uninstall the Problematic Updates. 

vi. Download and Install Windows Updates Manually.

Read More



How to Install OpenNMS on CentOS 8

This article will guide via a step-by-step procedure to #install OpenNMS in #CentOS. 

OpenNMS is a free, Open Source network monitoring system that can be used to #monitor tens of thousands of unlimited devices with a single #instance.

It will discover and monitor the services or nodes automatically in your #network, or you can assign a particular service to monitor by OpenNMS.

To configure #OpenNMS:

1. Install OpenNMS Horizon. Add yum repository and import GPG key. 

2. Initialize and set up #PostgreSQL. Initialization of the PostgreSQL database will start.

3. Initialize and start OpenNMS Horizon. 

4. First Login and change default password.

Read More



Traefik Reverse Proxy for Docker Containers on Ubuntu

This article will guide you on how to set up #traefik reverse #proxy for #docker on #ubuntu 20.04. Traefik is a dynamic load balancer designed for ease of configuration, especially in dynamic environments. It supports automatic discovery of services, #metrics, tracing, and has Let's Encrypt support out of the box. 

To to Install and Use Traefik as a Reverse Proxy with Docker on Linux:

1. Install Docker and Docker Compose.

2. Create Docker #Network.

3. Install and Configure Traefik Proxy.

4. Create a Docker Compose File.

5. Build Traefik Docker Container.

6. Access Traefik Web Interface.

Read More



Steps to install MySQL in Docker Container

This article will guide you on the steps to install and configure #MySQL in #Docker #container. MySQL is a well-known open-source relational #database management system and one of the most popular web server solutions. It stores and structures data in a meaningful manner, ensuring easy accessibility. Setting up a database in Docker is simply building a container based on a MySQL #image. 

To Set Up & Configure a MySQL Docker Container:

1. Running a MySQL Docker Container.

2. Installing a MySQL Docker Container.

i. Pull the MySQL Docker Image.

ii. Deploy the MySQL Container.

iii. Connect to the MySQL Docker Container.

3. Configure MySQL Container. Manage #Data Storage.

4. Start, Stop, and Restart MySQL Container.

5. Delete MySQL Container.

Read More



Docker Network How to create it

This article will guide you on how to create a #docker #network and attach a #container to it. If you want to add a container to a network after the container is already running, use the docker network connect subcommand. You can connect multiple containers to the same network. Once connected, the containers can communicate using only another container's #IP address or name.

There are three common Docker network types:

1. bridge networks, used within a single host.

2. overlay networks, for multi-host communication.

3. macvlan networks which are used to connect Docker containers directly to #host network interfaces.

Read More



Install Cockpit Web Console on Ubuntu

This article will guide you on the steps to #install the #Cockpit web console on #Ubuntu. Basically, Cockpit web console provides a #graphical overview of the core components and overall status of a #Linux #machine.

To access cockpit in Linux:

1. Open the Interface by Opening a web #browser and enter the server's IP address with port 9090 in the address bar. If the web browser is on the Cockpit server, open localhost:9090 or hostname:9090.

2. Log into the Cockpit interface with the same user name and password that you would normally use to log into the #system.

Read More



How to Provision docker containers with Ansible

This article will guide you on how to provision docker #containers using Ansible. #Ansible seamlessly automates #Docker and the process of building and deploying containers.
Ansible Container will allow users to build, #deploy, and orchestrate containers at scale, all from Ansible playbooks.

Read More



Deploy Laravel using Nginx on Ubuntu

This guide will help to set up Laravel with #Nginx on #Ubuntu 16.04. Laravel is the most popular, free, and open-source #PHP #framework in the world, known for its expressive and elegant syntax.
To move laravel project from localhost to production server, do:
1. Zip your #laravel app files.
2. Export your app's #database then set it up on your server.
3. After you have uploaded your laravel app files, open the . env file found on the root.
4. That's it!, now check your live #site.

Read More



Steps to Install GoAccess on Ubuntu

This article will guide you on how to #Install GoAccess on Ubuntu which is a command-line tool and how to use it for analyzing server #logs.
With #GoAccess, you are able to #SSH into any web server you control and view or analyze relevant statistics quickly and securely. Apart from the command-line dashboard interface, it's also capable of displaying the #statistics in other formats such as HTML, JSON, and CSV, which you can use in other contexts or share with others.

Read More



Set Up Laravel Nginx and MySQL with Docker Compose

This article will guide you on how to set up #Laravel, #Nginx, and #MySQL with #Docker Compose. When using a #LEMP application stack, for example, with PHP, Nginx, MySQL and the Laravel framework, Docker can significantly streamline the setup process.
Docker Compose has further simplified the development process by allowing developers to define their #infrastructure, including application services, #networks, and volumes, in a single file. Docker Compose offers an efficient alternative to running multiple docker container create and docker container run #commands.

Read More



Process to install Docker on Windows

This article will guide you on the steps to install docker on Windows by setting up a Linux virtual #machine to run as a guest in Windows 10 Home.
Docker Desktop is an easy-to-install application for your #Mac or Windows environment that enables you to build and share containerized applications and microservices. Docker Desktop includes Docker #Engine, Docker CLI client, Docker Compose, Notary, #Kubernetes, and Credential Helper.
You can download #Docker #Desktop for Windows from Docker Hub. This relates to installing Docker Desktop on #Windows 10 Pro, Enterprise, and Education.

Read More



How to install Metricbeat on CentOS 7 to Gather Infrastructure Metrics

This article will guide you on the steps to install #Metricbeat and configure the Elastic Stack to collect and analyze system metrics. Metricbeat is configured using a #YAML configuration file. On Linux, this file is located at: /etc/metricbeat/metricbeat. yml. On #Docker, you will find it at: /usr/share/metricbeat/metricbeat.
Both #Filebeat and #Logstash can be used to send #logs from a file-based data source to a supported output destination.

Read More



JupyterLab Environment on Ubuntu 18 04

This article will guide you on the process to set up a JupyterLab Environment on Ubuntu and made it accessible remotely. 

The JupyterLab Credential Store uses a password that you set upon first use. Each credential is encrypted with a hash of your password. The encrypted credentials are stored in the credentialstore file in the #directory you start #JupyterLab from.

You can also create new #environments from within Jupyter Notebook (home screen, Conda tab, and then click the plus sign). And you can create a notebook in any environment you want. Select the "Files" tab on the home screen and click the "New" dropdown menu, and in that menu select a Python environment from the list.

Read More



How to Run AWS Amazon DynamoDB Steps to do it

This article will guide you on how to set up #Amazon DynamoDB which can be downloaded as an executable .jar file.

#DynamoDB uses hashing and B-trees to manage #data. Upon entry, data is first distributed into different partitions by hashing on the #partition key. Each partition can store up to 10GB of data and handle by default 1,000 write capacity units (WCU) and 3,000 read capacity units (RCU).

Read More



Deploy Zimbra Collaboration using docker

This article will guide you on the steps to run #Zimbra on #Docker #Container. Docker enables apps to quickly assemble from components.

Read More



Configure Jenkins with SSL using an Nginx

This article will guide you on how to configure #Jenkins with #SSL using an #Nginx reverse proxy. It is important to secure Jenkins with SSL to protect passwords and sensitive data transmitted through the #web interface.

Read More



YUM History command Ways to use it

This article will guide you on #YUM history #command in #Linux which provides a detailed history of YUM #transactions in order to find out information about installed packages and those that where removed/erased from a #system. 

The yum history command allows users to review information about a timeline of Yum transactions, the dates and times they occurred, the number of packages affected, whether transactions succeeded or were aborted, and if the RPM #database was changed between transactions.

Read More



Install Jenkins on Ubuntu 18 04

This article will guide you on the steps to install #Jenkins on #Ubuntu 18.04 which involves installing it from Ubuntu #packages or can download and install its WAR file.

Jenkins is a Java-based open source #automation server that helps to repetitive technical tasks.

Read More



Docker Cannot connect to the Docker daemon

This article will guide you on the steps to fix 'Docker: Cannot connect to the #Docker daemon' error which occurs if the docker #daemon is not running on the #host or the user not having root privileges. 

Read More



Working with Docker logs All you need to know

This article will guide you on how to start using docker logs efficiently.

Read More



Cleanup tasks with Docker How to run it quickly

This tutorial will guide you on how to perform cleanup tasks with Docker which involves keeping the Docker clean to solve the server space issue that is especially important when Docker is running as a virtual machine.

Read More



Install and Configure Salt Master on Ubuntu

This article will give you a comprehensive guide on the steps to perform installation and configuration of Salt Master and Minion servers on Ubuntu which involves a series of steps that include installing the master daemon, initial master configuration, installing a separate minion, and configuring the Minion.

Read More



Modify docker image

This article will guide you on how to edit docker images on your Server for DevOps development.

Read More



How to install the Anaconda Python on Ubuntu

This article will guide you on how to install, setup, update, and uninstall Anaconda which involves a series of steps to install and setup the Anaconda environment.

Read More



Updating Docker Container automatically

This article will guide you on how to update Docker Container using Watchtower.

Read More



Nginx FastCGI caching

This article will show you how to configure FastCGI cache with Nginx since it can cache the HTML pages generated from a PHP code thereby eliminating the PHP/database requests.

Read More



Failure to unmount or delete VMFS Datastore the resource is in use

This article will guide you on how to solve the error “unable to unmount/delete vmfs datastore: the resource is in use” triggers while removing an empty VMFS Datastore in VMWare vSphere.

Read More



Exporting and importing docker containers

This article will take you through the steps to export and import docker containers between on server to another server using simple ssh commands.

Read More



How to install and configure cacti on Linux

Steps to install and configure Cacti which is network monitoring tool which displays server efficiency information in form of a personalized graph.

Read More



How to fix docker Error response from daemon unable to remove volume

Server users experience Docker error such as "error response from daemon: unable to remove volume" when trying to remove the volume of a container in Docker.

Read More



Sharing data between Docker Container and Host

The complete guide on how to setup Docker volumes  and how  to share data between a Docker container and a host system.

Read More



Installing docker compose on ubuntu 18.04

Missing cUrl and pip packages on Linux Server can trigger Docker Compose installation failures. This guide will show you how to install docker-compose on Ubuntu without any installation issues.

Read More



Solution to sslv3 alert handshake failure

Easy method to fix SSLv3 alert handshake failure.

Read More



Solve Docker Error response from daemon

Easy to follow steps to fix response from daemon in Docker.

Read More



Fix Docker error encountered during connect

Easy method to fix Docker an error occurred trying to connect.

Read More



Fix docker unexpected error EOF in archive

Docker error EOF occurs as a result of issues with the configuration in the docker container.

Read More



Fix Docker error certificate signed by unknown authority

We have helped our customers solve numerous Docker related issues as part of our Linux Server Support Services.

Read More



Solve docker error loading config file

Docker error loading config file signifies that there is an issue loading docker configuration file "config.json" while trying to start the docker instance.

Read More



How to get rid of Docker error 255

Docker errors such as the exit status error 255 are quite difficult to troubleshoot because it tends to stop the process giving that error status.

Read More



Solve Docker Error Processing tar file

When there is a permission issues or lack of disk space, a Docker error processing tar file will occur.

Read More



Fix Docker Error opening terminal unknown

Our Server Support team here at IbmiMedia has helped numerous clients to solve Docker related issues as part of our Linux Support Services.

Read More



Fix Docker port is already allocated

How we solved Docker error port is already allocated in any Linux and Windows Operating System.

Read More



How to fix Docker container which dies immediately after start

Does your Server Docker Dies immediately after start?

Read More