This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from "react"; | |
import { useSelector, useDispatch } from "react-redux"; | |
import { useTranslation } from "react-i18next"; | |
import { Link } from "react-router-dom"; | |
// Get context for services and actions | |
import context from "context/"; | |
// Material UI | |
import Grid from "@material-ui/core/Grid"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. LIST CONTAINERS | |
docker ps | |
2. CREATE A BACKUP IMAGE OF DOCKER CONTAINER | |
docker commit -p <DOCKER_ID>:<VERSION> <BACKUP_IMAGE_NAME> | |
3. LIST AND PACK NEW IMAGE TO .TAR | |
docker images | |
docker save -o <BAKUP_ARCHIVE_NAME(.tar)> <BACKUP_IMAGE_NAME> |