Xampp : Starting Apache …fail : Ubuntu Server Error
i installed xampp in my ubuntu server in virtual box and when i am running below command. then showing Starting Apache …fail. sudo /opt/lampp/lampp start Error :…
Docker Interview Questions and Answer Part – 35
What Docker technologies are available to support communication between containers? Docker connect and bridge networks Docker linking and bridge networks (Ans) Docker connect and alias networks None…
Docker Interview Questions and Answer Part – 34
Which of the following open-source tools is the underlying technology for Docker Swarm? containerd SwarmKit (Ans) Kubernetes InfraKit The Docker daemon Docker UCP implements RBAC via Grants….
Docker Interview Questions and Answer Part – 33
Which of the following best decribes a Docker Image? A read-write template for starting one or more containers A point-in-time snapshot of a container used for backups…
Docker Interview Questions and Answer Part – 32
Which of the following are true about Docker volumes? They must exist on a SAN or NAS They are decoupled from containers (Ans) They are higher performance…
Docker Interview Questions and Answer Part – 31
What is the preferred way to deploy and manage a Docker Stack? The declarative way via config files (Ans) The imperative way via commands Which of the…
Laravel – Remove Public from URL using htaccess
Step 1: Rename File In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at…
Docker Interview Questions and Answer Part – 30
Images contain the entire user space, in other words the entire file system for a container. How is this not horribly inefficient in terms of disk space?…
Docker Interview Questions and Answer Part – 29
With Docker for Windows, what container types can you run? Only Windows Windows and macOS Windows and Linux (Ans) Only Linux Which of the following is an…
Docker Interview Questions and Answer Part – 28
What is a tag? A reference to a registry A reference to a repository A reference to a specific image in a repository (Ans) A reference to…
Docker Interview Questions and Answer Part – 27
By default, what happens to a Docker Container when the process it is running exits? The Container exits. (Ans) The Container reboots and restarts the process. The…
Docker Interview Questions and Answer Part – 26
What Docker Client command can be used to convert a Dockerfile into an Image? docker createimage docker buildimage docker build (Ans) docker create Which of the following…
Docker Interview Questions and Answer Part – 25
Docker Kitematic can ONLY be used to download Docker images. True False (Ans) Services can be organized into __ with Docker Cloud. roles stacks (Ans) zones groups…
Docker Interview Questions and Answer Part – 24
Which of the following tasks can Docker Cloud perform? Create nodes None of these Start and stop services All of these (Ans) Create stacks What is the…
Docker Interview Questions and Answer Part – 23
Which of the following are top-level keys in a stack file (Compose v3 file)? Version, deployments, networks, volumes Version and services Version, services, networks, volumes (Ans) Services,…
Npm Error: Error: pngquant failed to build, make sure that libpng-dev is installed
Command I tried $ npm i –unsafe-perm Got following Error; Solution $ apt-get install libpng-dev
Docker Interview Questions and Answer Part – 22
Which of the following is a recommended best practice? Keep your images small (Ans) Never use the latest image in a repo Use large images containing lots…
NPM Error: gyp ERR! stack Error: EACCES: permission denied
npm install [Tried using root]sudo npm install [Tried using ubuntu] Error Solutions First Solution 1 $ sudo npm i –unsafe-perm Last Solution 2 $ sudo rm -rf…
Docker Interview Questions and Answer Part – 21
Which of the following is needed to deploy a Docker Stack? Compose v2 file format Kubernetes Compose v3 file format Docker Cloud (Ans) What is the name…
DevOps Interview Questions and Answer – Part 5
How does “technical debt” make it hard to become a software-driven company? Technical debt is paid off by business units that do not trust IT. Attention paid…
Chef Configuration Management Interview Questions and Answers Part – 5
Why do we make a new cookbook dependent upon one or more different cookbooks? So that we don’t breach copyright So that we can make use of…
alert function in JavaScript
window.alert() This function is used to display data in an alert dialog box. alert function really should be used only when you truly want to stop everything…
write function in JavaScript
document.write() This function is used to write arbitrary HTML and content into page. If we use this function after an HTML document is fully loaded, will delete…
How to Stop Brute Force Attacks on WordPress?
if you want to protect your WordPress site from Brute force attack. Then you should follow the below step. before going to step that can protect our…
Introduction of Some keyword using laravel
Laravel framework provides three primary tools for interaction through command-line namely: Artisan, explains about Artisan in detail. Introduction to Artisan Artisan is the command-line interface frequently used in…
Docker Interview Questions and Answer Part – 20
What type of software deals with running (placement) applications on a given node in the cluster? Placer VM runtime Container runtime Provisioner Scheduler (Ans) What is the…
Ansible Interview Questions and Answer – Part 12
Which is the right repository definition should be inserted in pom.xml for uploading snapshot artifactory? Which is the right repository definition should be inserted in pom.xml for…
Docker Interview Questions and Answer Part – 19
What can you use to run multiple containers from a single YAML file? Dockerfile docker run docker-compose (Ans) docker run containers.yml Which of the following is not…
