Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
5d7ed4d6
Commit
5d7ed4d6
authored
Feb 23, 2016
by
Justin Santa Barbara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AWS kube-up: Stop docker before moving /mnt/docker
On Jessie, we now preinstall Docker. Before moving /mnt/docker, make sure we stop the docker service.
parent
7f3bbe1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
format-disks.sh
cluster/aws/templates/format-disks.sh
+3
-0
No files found.
cluster/aws/templates/format-disks.sh
View file @
5d7ed4d6
...
...
@@ -190,6 +190,9 @@ else
fi
if
[[
-n
"
${
move_docker
}
"
]]
;
then
# Stop docker if it is running, so we can move its files
systemctl stop docker
||
true
# Move docker to e.g. /mnt
# but only if it is a directory, not a symlink left over from a previous run
if
[[
-d
/var/lib/docker
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment