Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
146
Issues
146
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
9513c320
Commit
9513c320
authored
Apr 27, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FILE] Docker data mv script
parent
e28f67d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
mvDockerData
devops/docker/bin/mvDockerData
+15
-0
No files found.
devops/docker/bin/mvDockerData
0 → 100755
View file @
9513c320
#!/bin/bash
sudo
service docker stop
echo
"{
\"
data-root
\"
:
\"
$1
\"
}"
>
/etc/docker/daemon.json
sudo mkdir
-p
$1
sudo
apt update
&&
sudo
apt
-y
install
rsync
sudo
rsync
-aP
/var/lib/docker/
$1
sudo mv
/var/lib/docker /var/lib/docker.old
sudo
service docker start
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