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
    
  
  
    
  | # location | |
| /var/lib/lxc/<container-name> | |
| # example | |
| /var/lib/lxc/mongodb | 
  
    
      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
    
  
  
    
  | # location | |
| /var/lib/lxc/<container-name>/config | |
| # example | |
| /var/lib/lxc/mongodb/config | 
  
    
      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
    
  
  
    
  | # location | |
| /var/lib/lxc/<container-name>/rootfs | |
| # example | |
| /var/lib/lxc/mongodb/rootfs | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # A script to resize images. | |
| readonly OUT_FMT="_new.jpg" | |
| if [ "$#" -eq 0 ] ; then | |
| echo "A script to resize images " | |
| echo "How to use : $(basename $0) add_of_image1 add_of_image2 ..." | |
| exit 1 | |
| fi | |
| for pic | |
| do | 
  
    
      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
    
  
  
    
  | # on boot2docker | |
| /var/lib/boo2docker/profile | 
  
    
      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
    
  
  
    
  | /etc/default/docker | 
  
    
      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
    
  
  
    
  | # setting up insecure registry # 10.2.4.201 is the private registry host | |
| DOCKER_OPTS="$DOCKER_OPTS —insecure-registry=10.2.4.201" | 
  
    
      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
    
  
  
    
  | docker images | 
  
    
      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
    
  
  
    
  | # command | |
| docker rmi <image-id> | |
| docker rmi -f <image-id> | |
| # example | |
| docker rmi 3f5b9885f749 | 
  
    
      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
    
  
  
    
  | # command | |
| docker rmi <image-name>:<tag> | |
| # example | |
| docker rmi rabbitmq:0.7 |