aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-04-30 07:35:01 +0700
committerGitHub <[email protected]>2021-04-30 07:35:01 +0700
commite5f4d6cc12ba073b10362755a49892f1428cf882 (patch)
tree065fb4cafab15d9c649c2b06ff4dbf9b17f51c50
parentTemp Fix Failed to boot OSX with GENERATE_UNIQUE #244 (diff)
parentUpdate README.md (diff)
downloaddocker-osx-e5f4d6cc12ba073b10362755a49892f1428cf882.tar.xz
docker-osx-e5f4d6cc12ba073b10362755a49892f1428cf882.zip
Merge pull request #260 from m-zheng/patch-1
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4084f94..8bf8ae5 100644
--- a/README.md
+++ b/README.md
@@ -883,6 +883,23 @@ Here's a few other resolutions! If you resolution is invalid, it will default to
-e HEIGHT=1600 \
```
+#### This example shows how to change resolution after the container is created.
+
+First step is to stop the docker daemon
+```
+sudo systemctl stop docker
+```
+The second step is to change container config in
+```
+/var/lib/docker/containers/[container-id]/config.v2.json
+```
+(Suppose your original WIDTH is 1024 and HEIGHT is 768, you can search 1024 and replace it with the new value. Same for 768.)
+
+The last step is to restart the docker daemon
+```
+sudo systemctl restart docker
+```
+
### Mounting physical disks in Mac OSX
Pass the disk into the container as a volume and then pass the disk again into QEMU command line extras with.