Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

173 total results found

Docker Volume

Docker

Data volumes are directories that can store data outside Docker containers. This data can be shared among containers and is persistent. The data volumes are usually stored in the folder ‘/var/lib/docker/volumes’ and can be listed using the command ‘docker vol...

Reference link - https://bobcares.com/blog/docker-backup/2/

Docker Docker backup & restore

How to restore Docker containers docker load -i backup.tar backup.tar name of backup container file name To backup Docker data volumes first check docker volume ls docker inspect -f '{{ .Mounts }}' 2bcfbeb21853 2bcfbeb21853 - container id Output -> [{v...

To push container as a image on docker-hub

Docker

To login on Docke-Hub https://hub.docker.com/ docker login 1. Commit the required container as an image docker commit -p [container-id] backup01 backup01 = it can be any name 1 sudo docker commit [CONTAINER_ID] [new_image_name] 2. You can save the imag...

Docker Commands.....

Docker

Stop all container docker container stop $(docker container ls -aq) Remove all container docker container rm $(docker container ls -aq) Remove all images docker image prune -a Purging All Unused or Dangling Images, Containers, Volumes, and Networks dock...

An Introduction to Python

Python

Python is a popular object-oriented programing language having the capabilities of high-level programming language. Its easy to learn syntax and portability capability makes it popular these days. The followings facts gives us the introduction to Python − ...

Strengths and Weaknesses of Python

Python

Every programming language has some strengths as well as weaknesses, so does Python too. Strengths According to studies and surveys, Python is the fifth most important language as well as the most popular language for machine learning and data science. It is...

Installing Python

Python

For working in Python, we must first have to install it. You can perform the installation of Python in any of the following two ways − Installing Python individually Using Pre-packaged Python distribution − Anaconda Let us discuss these each in detail. Ins...

Using Pre-packaged Python Distribution: Anaconda

Python

Anaconda is a packaged compilation of Python which have all the libraries widely used in Data science. We can follow the following steps to setup Python environment using Anaconda − Step 1 − First, we need to download the required installation package fro...

Why Python for Data Science?

Python

Python is the fifth most important language as well as most popular language for Machine learning and data science. The following are the features of Python that makes it the preferred choice of language for data science − Extensive set of packages Python ha...

Components of Python ML Ecosystem

Python

In this section, let us discuss some core Data Science libraries that form the components of Python Machine learning ecosystem. These useful components make Python an important language for Data Science. Though there are many such components, let us discuss so...

Types of Cells in Jupyter Notebook

Python

The following are the three types of cells in a jupyter notebook − Code cells − As the name suggests, we can use these cells to write code. After writing the code/content, it will send it to the kernel that is associated with the notebook. Markdown cells − W...

An Introduction to Git-Home

Git-GitLab-GitHub-BitBucket

Git is a distributed revision control and source code management system with an emphasis on speed. Git was initially designed and developed by Linus Torvalds for Linux kernel development. Git is a free software distributed under the terms of the GNU General Pu...

Git - Basic Concepts

Git-GitLab-GitHub-BitBucket

Version Control System Version Control System (VCS) is a software that helps software developers to work together and maintain a complete history of their work. Listed below are the functions of a VCS − Allows developers to work simultaneously. Does not ...

Git - Environment Setup

Git-GitLab-GitHub-BitBucket

Before you can use Git, you have to install and do some basic configuration changes. Below are the steps to install Git client on Ubuntu and Centos Linux. Installation of Git Client If you are using Debian base GNU/Linux distribution, then apt-get command wi...

Git - Life Cycle

Git-GitLab-GitHub-BitBucket

In this chapter, we will discuss the life cycle of Git. In later chapters, we will cover the Git commands for each operation. General workflow is as follows − You clone the Git repository as a working copy. You modify the working copy by adding/edit...

Git - Create Operation

Git-GitLab-GitHub-BitBucket

In this chapter, we will see how to create a remote Git repository; from now on, we will refer to it as Git Server. We need a Git server to allow team collaboration. Create New User # add new group [root@CentOS ~]# groupadd dev # add new user [root@Cent...

Git - Clone Operation

Git-GitLab-GitHub-BitBucket

We have a bare repository on the Git server and Tom also pushed his first version. Now, Jerry can view his changes. The Clone operation creates an instance of the remote repository. Jerry creates a new directory in his home directory and performs the clone op...

Git - Perform Changes

Git-GitLab-GitHub-BitBucket

Jerry clones the repository and decides to implement basic string operations. So he creates string.c file. After adding the contents, string.c will look like as follows − #include <stdio.h> int my_strlen(char *s) { char *p = s; while (*p) ...

Git - Review Changes

Git-GitLab-GitHub-BitBucket

After viewing the commit details, Jerry realizes that the string length cannot be negative, that’s why he decides to change the return type of my_strlen function. Jerry uses the git log command to view log details. [jerry@CentOS project]$ git log The ab...

Git - Commit Changes

Git-GitLab-GitHub-BitBucket

Jerry has already committed the changes and he wants to correct his last commit. In this case, git amend operation will help. The amend operation changes the last commit including your commit message; it creates a new commit ID. Before amend operation, he che...