7cb39996f0
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb Closes-Bug: #1441644
7 lines
156 B
Bash
7 lines
156 B
Bash
#!/bin/bash
|
|
|
|
source /etc/default/docker
|
|
DOCKER_OPTS+=" --registry-mirror=$1"
|
|
echo DOCKER_OPTS=\"$DOCKER_OPTS\" > /etc/default/docker
|
|
|
|
service docker restart |