Posts

GUI Application in Docker

Image
  GUI Application in docker container Interface is a device or program that enables the user to communicate with the computer. Graphical User Interface  that allows users to interact with electronic devices through  graphical  icons and audio indicator   Linux has Command Line Interface that processes commands to a computer program in the form of lines of text So, this blog is about how we can launch application of GUI inside docker Lets get started! Step 1) We will first start our docker service and  check docker images Step 2) We will pull centos:7 image "docker pull centos:7" and we will run a image through a container "docker run -it --name container_name centos:7" here os1 is the name of container. Step 3)   Now we will install firefox "yum install firefox " As we run the command firefox it is showing an error that " no DISPLAY enviornment variable  specified" to solve this error we have to specify enviornment Step 4) Now we will make...

Containerizing Machine Learning

Image
  Containerizing M achine Learning Docker  :- Docker  is an open platform for developing, shipping, and running applications.  Docker , an open source project was  launched  in 2013. Its primary focus is to automate the deployment of applications inside software containers and the automation of operating system level virtualization on Linux. It's more lightweight than standard Containers and boots up in seconds. The crucial advantage of Docker is that it is agile. It has  Consistent and Isolated Environment. It has cost effectiveness and fast deployement 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. Steps to be done:-  1)Pull the Docker container image of CentOS image from DockerHub and create a new container 2)Create a container using docker you can also name this container. 3)Now w...