Stop the Docker services:
sudo systemctl stop docker
sudo systemctl stop docker.socket
sudo systemctl stop containerd
Copy docker root files to new dir
sudo rsync -aP /var/lib/docker/ /some_new_dir
Stop the Docker services:
sudo systemctl stop docker
sudo systemctl stop docker.socket
sudo systemctl stop containerd
Copy docker root files to new dir
sudo rsync -aP /var/lib/docker/ /some_new_dir
| ;( function( window ) { | |
| 'use strict'; | |
| var docElem = window.document.documentElement, | |
| support = { animations : Modernizr.cssanimations }, | |
| animEndEventNames = { | |
| 'WebkitAnimation' : 'webkitAnimationEnd', | |
| 'OAnimation' : 'oAnimationEnd', | |
| 'msAnimation' : 'MSAnimationEnd', |
| require 'base64' | |
| # converts attached PNGs into base64 strings | |
| # Eg | |
| # <img src="my.png" /> to <img src="data:image/png;base64,..." /> | |
| class To64Html | |
| def initialize(path) |
| var deepOmit = function(input, propertyToRemove) { | |
| var output = input; | |
| if (_.isArray(input)) { | |
| output = []; | |
| _.each(input, function(arrayItem) { | |
| output.push(deepOmit(arrayItem, propertyToRemove)); | |
| }); | |
| } | |
| else if (_.isObject(input)) { | |
| output = {}; |
| class Person | |
| def initialize(attributes) | |
| attributes.each do |attribute_name, attribute_value| | |
| ##### Method one ##### | |
| # Works just great, but uses something scary like eval | |
| # self.class.class_eval {attr_accessor attribute_name} | |
| # self.instance_variable_set("@#{attribute_name}", attribute_value) | |
| ##### Method two ##### | |
| # Manually creates methods for both getter and setter and then |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>rsync (Everyone seems to like -z, but it is much slower for me)