Search related to Docker

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



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



Asp net error 1334

This article will guide you on steps to resolve Asp.net #error 1334 which is a generic error often encountered while trying to run an #ASP .NET web application in Windows. ASP.NET uses the common language runtime (CLR), which provides a way of notifying #applications of errors in a uniform way. 

When an error occurs, an exception is thrown. An exception is any error, condition, or unexpected behavior that an application encounters.

To fix Asp.net error #1334:

1. Run a repair of .NET #Framework 2.0 and attempt to restart the Backup Exec Server service.

2. If the issue persists, uninstall .NET Framework 2.0 and all related updates.  

3. Reboot the #Media Server. 

4. Reinstall .NET Framework 2.0.

5. Reboot the Media Server.

Read More



Automate Windows Server 2019 Administration with Ansible

This article will guide you on steps to automate Windows Server 2019 #Administration with Ansible. 

Ansible can be used to manage and execute core functions in Windows #environments, from security updates to remote management using #WinRM. Although Ansible must be run on #Linux, Windows administrators can use Ansible to manage and automate their systems without needing to know how to use a Linux #terminal.

To Connect Ansible on Windows from #Ubuntu:

1. Create Ansible Windows User. Create a new user for the Ansible windows connection setup.

2. Setup Libraries and WinRM.

3. Update the Ansible Inventory file.

4. Update the Ansible Group Variables.

5. Configure #Windows Servers to Manage.

6. Test Connectivity to the Windows Server.

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 encountered an unknown error 80072efe

This article will guide you on the different methods to get rid of #Windows #update encountered an unknown #error #80072efe.

You may get the error because there are corrupted files on your #computer. You can run System File Checker, which can scan and repair the corrupted issues, Close the Command Prompt window and restart your #computer. Then open Windows Update and see if the error is fixed.

To fix Windows Update encountered an unknown error:

1. Right click on the #taskbar and select Properties.

2. Click the Customize.

3. On the Notification Area Icons window, make sure Always show all icons and notifications on the taskbar is checked and click OK.

4. At this point, try running Windows Update again and the updates should begin to install properly.

Read More



OpenLDAP on Ubuntu Steps to install it

This article will guide you on the steps to #install and configure #OpenLDAP on #Ubuntu.

OpenLDAP is a open source implementation of #LDAP in Linux.

If it's your #server, you will know just by looking at the running services. When you are there, run #netstat and probably you will see LDAP listening only on localhost . Remotely, if the server is listening on #localhost , you cannot know just by running nmap , the port will not answer for the public #interface.

To Install and Configure OpenLDAP on #CentOS / #RHEL #Linux:

1. Install OpenLDAP Packages. On CentOS and RedHat, use yum install as shown below, to install the openldap related packages. 

2. LDAP #Config Files. config. 

3. Create olcRootDN Account as Admin. 

4. Create olcRootPW Root Password. 

5. Create olcSuffix #Domain Name. 

6. Verify The #Configuration Files. 

7. Start the LDAP Server. 

8. Verify the LDAP Search.

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



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



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



Working with Database Configuration in Laravel

This article will guide you on steps to set up #development and testing databases for Laravel by using database migrations and #seeders. Database migration means moving your data from one platform to another. To run #laravel migrations, first you have to configure your #database connection, and then you use Artisan, Laravel's #command line interface, to install the migrations table and run, revert, create. This command causes #Artisan to create a special table in your database to keep track of what #migrations have already been executed.

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



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



Modify docker image

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

Read More



Steps to Install GNS3 on Ubuntu in a single command

This article will guide you on the steps to install GNS3 on Ubuntu.

Read More



Rsync symlink operation not supported how to fix it

This article will guide you on how to fix "rsync symlink operation not supported" which occurs in the process of transferring files from one server to another server.

Read More



Updating Docker Container automatically

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

Read More



Install BigBlueButton on Ubuntu

This article will guide you through the steps you need to follow to install BigBlueButton on Ubuntu.

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 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



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



How to fix SSL error err sslversion or cipher mismatch

The error ERR_SSL_VERSION_OR_CIPHER_MISMATCH occurs when a user's browser cannot establish a secure connection with a web server that uses #HTTPS and SSL. 

The issue may lie in the server configuration or locally on a user's #computer.

Also, the ERR SSL VERSION OR CIPHER MISMATCH error could be caused by certain security settings. 

Applying changes to the SSL might help you solve the annoying ERR SSL VERSION problem. 

Sometimes switching to another browser can be the easy fix you need.

To Fix ERR_SSL_PROTOCOL_ERROR:

1. Set correct system date, time & region.

2. Clear Chrome's cache and cookies.

3. Disable #QUIC Protocol.

4. Disable extensions.

5. Remove your system's hosts file.

6. Clear SSL State.

7. Lower your internet security and privacy level.

8. Disable your security tools for a moment.

Error such as Err_ssl_version_or_cipher_mismatch tend to pop up when there is a inappropriate configuration in the SSL certificate.

Read More