From ec6619d3450328d396b4ca4246e6a7317a8742db Mon Sep 17 00:00:00 2001 From: Stephen Day Date: Fri, 6 Dec 2024 13:15:34 -0800 Subject: [PATCH 1/4] harmonia: one more pass for bind volumes --- content/manuals/harmonia/_index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/manuals/harmonia/_index.md b/content/manuals/harmonia/_index.md index ba987542bc84..ac9f375144be 100644 --- a/content/manuals/harmonia/_index.md +++ b/content/manuals/harmonia/_index.md @@ -263,7 +263,9 @@ Run `docker harmonia doctor` to print helpful troubleshooting information. - KinD does not run on Project Harmonia due to some hard-coded assumptions to ensure it's running in a privileged container. K3d is a good alternative. - Containers cannot access host through DNS `host.docker.internal`. - File binds (non-directory binds) are currently static, meaning changes will not be reflected until the container is restarted. This also affects Compose configs and secrets directives. -- Bind mounts, such as `-v /localpath:/incontainer` in the `docker run` command, are not supported without using a file-sync. +- Bind _mounts_, such as `-v /localpath:/incontainer` in the `docker run` command, require starting a file-sync. +- Starting a file-sync for a directory with a large amount of may take extra time to sync and become ready for us in a container. +- Bind _volumes_, such as those created with `docker volume create --driver local --opt type=none --opt o=bind --opt device=/some/host/path myvolname` or via the compose equivalent, are not supported. - Port-forwarding for UDP is not supported. - Docker Compose projects relying on `watch` in `sync` mode are not working with the `tar` synchronizer. Configure it to use `docker cp` instead, disable tar sync by setting `COMPOSE_EXPERIMENTAL_WATCH_TAR=0` in your environment. - Some Docker Engine features that let you access the underlying host, such as `--pid=host`, `--network=host`, and `--ipc=host`, are currently disabled. From bdb5281ed474b423dc5c61f35eebe0339b4aeffd Mon Sep 17 00:00:00 2001 From: Stephen Day Date: Fri, 6 Dec 2024 19:56:02 -0800 Subject: [PATCH 2/4] Update content/manuals/harmonia/_index.md Co-authored-by: Nick Sieger --- content/manuals/harmonia/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/harmonia/_index.md b/content/manuals/harmonia/_index.md index ac9f375144be..31cab717cae2 100644 --- a/content/manuals/harmonia/_index.md +++ b/content/manuals/harmonia/_index.md @@ -264,7 +264,7 @@ Run `docker harmonia doctor` to print helpful troubleshooting information. - Containers cannot access host through DNS `host.docker.internal`. - File binds (non-directory binds) are currently static, meaning changes will not be reflected until the container is restarted. This also affects Compose configs and secrets directives. - Bind _mounts_, such as `-v /localpath:/incontainer` in the `docker run` command, require starting a file-sync. -- Starting a file-sync for a directory with a large amount of may take extra time to sync and become ready for us in a container. +- Starting a file-sync for a directory with a large amount of may take extra time to sync and become ready for use in a container. - Bind _volumes_, such as those created with `docker volume create --driver local --opt type=none --opt o=bind --opt device=/some/host/path myvolname` or via the compose equivalent, are not supported. - Port-forwarding for UDP is not supported. - Docker Compose projects relying on `watch` in `sync` mode are not working with the `tar` synchronizer. Configure it to use `docker cp` instead, disable tar sync by setting `COMPOSE_EXPERIMENTAL_WATCH_TAR=0` in your environment. From cd190b2254e4b45680050a639aba3832dd1b19b6 Mon Sep 17 00:00:00 2001 From: Stephen Day Date: Fri, 6 Dec 2024 19:56:45 -0800 Subject: [PATCH 3/4] Update content/manuals/harmonia/_index.md --- content/manuals/harmonia/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/harmonia/_index.md b/content/manuals/harmonia/_index.md index 31cab717cae2..2094bd46ed6a 100644 --- a/content/manuals/harmonia/_index.md +++ b/content/manuals/harmonia/_index.md @@ -263,7 +263,7 @@ Run `docker harmonia doctor` to print helpful troubleshooting information. - KinD does not run on Project Harmonia due to some hard-coded assumptions to ensure it's running in a privileged container. K3d is a good alternative. - Containers cannot access host through DNS `host.docker.internal`. - File binds (non-directory binds) are currently static, meaning changes will not be reflected until the container is restarted. This also affects Compose configs and secrets directives. -- Bind _mounts_, such as `-v /localpath:/incontainer` in the `docker run` command, require starting a file-sync. +- Bind _mounts_, such as `-v /localpath:/incontainer` in the `docker run` command, require creating a file-sync. - Starting a file-sync for a directory with a large amount of may take extra time to sync and become ready for use in a container. - Bind _volumes_, such as those created with `docker volume create --driver local --opt type=none --opt o=bind --opt device=/some/host/path myvolname` or via the compose equivalent, are not supported. - Port-forwarding for UDP is not supported. From b73e1786d42061e53bf9131f4b586e761cf05b71 Mon Sep 17 00:00:00 2001 From: Stephen Day Date: Wed, 11 Dec 2024 14:54:25 -0800 Subject: [PATCH 4/4] Update content/manuals/harmonia/_index.md Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/manuals/harmonia/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/harmonia/_index.md b/content/manuals/harmonia/_index.md index 2094bd46ed6a..b3a6b88d5f45 100644 --- a/content/manuals/harmonia/_index.md +++ b/content/manuals/harmonia/_index.md @@ -264,7 +264,7 @@ Run `docker harmonia doctor` to print helpful troubleshooting information. - Containers cannot access host through DNS `host.docker.internal`. - File binds (non-directory binds) are currently static, meaning changes will not be reflected until the container is restarted. This also affects Compose configs and secrets directives. - Bind _mounts_, such as `-v /localpath:/incontainer` in the `docker run` command, require creating a file-sync. -- Starting a file-sync for a directory with a large amount of may take extra time to sync and become ready for use in a container. +- Creating a [synchronized file share](/manuals/desktop/features/synchronized-file-sharing.md) for a directory with a large amount of may take extra time to sync and become ready for use in a container. - Bind _volumes_, such as those created with `docker volume create --driver local --opt type=none --opt o=bind --opt device=/some/host/path myvolname` or via the compose equivalent, are not supported. - Port-forwarding for UDP is not supported. - Docker Compose projects relying on `watch` in `sync` mode are not working with the `tar` synchronizer. Configure it to use `docker cp` instead, disable tar sync by setting `COMPOSE_EXPERIMENTAL_WATCH_TAR=0` in your environment.