Skip to content

Commit 46a89dd

Browse files
sebazainygrenh
andauthoredJun 30, 2021
Update development doku (#145)
* Update development doku * Update docs/Development.md Co-authored-by: Henrik Nygren <[email protected]> * Update docs/Development.md Co-authored-by: Henrik Nygren <[email protected]> * Update docs/Development.md Co-authored-by: Henrik Nygren <[email protected]> * Update docs/Development.md Co-authored-by: Henrik Nygren <[email protected]> * Update docs Co-authored-by: Henrik Nygren <[email protected]>
1 parent 9fb64ae commit 46a89dd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎docs/Development.md

+17
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,23 @@ Start minikube:
3636
bin/minikube-start
3737
```
3838

39+
#### Moving docker data root to another drive with more space
40+
41+
1. `sudo systemctl stop docker`
42+
2. `sudo vim /etc/docker/daemon.json` -
43+
with content:
44+
{
45+
"data-root": "/home/username/docker"
46+
}
47+
3. `mkdir /home/$USER/docker`
48+
4. `sudo rsync -aP /var/lib/docker /home/$USER/docker` (optional)
49+
5. `sudo mv /var/lib/docker /var/lib/docker.old`
50+
6. `sudo systemctl start docker`
51+
- Ensure all works fine by running: `docker run --rm hello-world`
52+
7. `sudo rm -rf /var/lib/docker.old` (cleanup)
53+
54+
> NOTE: If you are using Cubbli laptop provided by the Computer Science department, please ensure that you move docker data root to your home drive, otherwise you will most likely run out of space.
55+
3956
### Starting the development cluster
4057

4158
In the root of the repo, run: `bin/dev`. This script will start the development cluster with skaffold. The initial build will take a while but after that is done, everything should be relatively quick.

0 commit comments

Comments
 (0)