In my previous article here, I’ve discussed how can we launch GUI Apps like Firefox Browser, Nautilus File Manager in Docker.
Today, I’m again with another GUI App in Docker container, Spotify.
For Windows, you can use Xming.
For OSX, you can use Xquarkz.
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 deploy it as one package. By doing so, thanks to the container, the developer can rest assured that the application will run on any other Linux machine regardless of any customized settings that the machine might have that could differ from the machine used for writing and testing the code.
In a way, Docker is a bit like a virtual machine. But unlike a virtual machine, rather than creating a whole virtual operating system, Docker allows applications to use the same Linux kernel as the system that they’re running on and only requires applications to be shipped with things not already running on the host computer. This gives a significant performance boost and reduces the size of the application. …
In order to set up the Kubernetes environment, we need to install the following in our cloud Instance:
1. Docker: docker-ce:18.06 or above
2. Kubectl
3. Minikube
Go to AWS Management Console →Services →EC2
Prerequisite: This article assumes you have docker installed on your machine.
FROM ubuntu:latestLABEL maintainer="MuhammadTabish" email="mtabishkhanday@gmail.com" version="1.0" location="India" type="ubuntu-ssh"RUN apt update && apt install openssh-server sudo -y
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test
RUN echo 'test:test' | chpasswd
RUN service ssh start
EXPOSE 22
CMD ["/usr/sbin/sshd","-D"]
Line 1: Here I am using ubuntu as the base image for the container.
Line 2: We are setting some labels for this Docker Image.
Line 3: By default, Docker does not have sudo installed, hence the need to install it along with the open ssh server. …
🔰 Create High Availability Architecture with AWS CLI. The architecture includes:
2. Document Root(/var/www/html) made persistent by mounting on EBS Block Device.
3. Static objects used in code such as pictures stored in S3
4. Setting up Content Delivery Network using CloudFront and using the origin domain as the S3 bucket.
5. Finally place the Cloud Front URL on the web app code for security and low latency.
✍🏻Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment. …
In this article, we will:
1.Configure Apache2/HTTPD Server on Docker Container
2. Set Up a Python Interpreter, and run our Python Code on Docker Container.
3. Commit the changes in the container and create a Docker Image.
4. Push the Image to the Docker Hub.
Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers. This is often described as containerization. Putting applications into containers leads to several advantages like:
The Hadoop Distributed File System (HDFS) is a distributed file system designed to run on commodity hardware. It has many similarities with existing distributed file systems. However, the differences from other distributed file systems are significant. HDFS is highly fault-tolerant and is designed to be deployed on low-cost hardware. HDFS provides high throughput access to application data and is suitable for applications that have large data sets.
By default, Hadoop Slave Nodes/ Data Nodes contributes all the storage present in the “/” (root drive) to the Hadoop Cluster. E.g., …
Amazon Web Services (AWS) is the leading platform for cloud computing. It has nearly every conceivable thing you’d need. AWS is used extensively by top companies and startups because of its wide range of products, it’s super easy to dynamically scale, and it’s very secure.
aws ec2 create-key-pair --key-name aws-cli-key
About