23 references to WithBindMount
Aspire.Hosting.Azure.Tests (1)
AzureContainerAppsTests.cs (1)
977.WithBindMount("bind1", "/path3");
Aspire.Hosting.Containers.Tests (5)
ContainerResourceTests.cs (5)
169.WithBindMount("source", "/target"); 234.WithBindMount("./some/source", "/bound") 235.WithBindMount("not/relative/qualified", "/another/place") 236.WithBindMount(".\\some\\other\\source", "\\mount\\here") 237.WithBindMount("./some/file/path.txt", "/mount/there.txt", isReadOnly: true);
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
148return builder.WithBindMount(source, "/usr/share/elasticsearch/data");
Aspire.Hosting.Milvus (2)
MilvusBuilderExtensions.cs (2)
173return builder.WithBindMount(source, "/var/lib/milvus", isReadOnly); 186return builder.WithBindMount(configurationFilePath, "/milvus/configs/milvus.yaml");
Aspire.Hosting.MySql (2)
MySqlBuilderExtensions.cs (2)
221return builder.WithBindMount(source, "/var/lib/mysql", isReadOnly); 236return builder.WithBindMount(source, "/docker-entrypoint-initdb.d", isReadOnly);
Aspire.Hosting.Oracle (3)
OracleDatabaseBuilderExtensions.cs (3)
94=> builder.WithBindMount(source, "/opt/oracle/oradata", false); 103=> builder.WithBindMount(source, "/opt/oracle/scripts/startup", false); 112=> builder.WithBindMount(source, "/opt/oracle/scripts/setup", false);
Aspire.Hosting.PostgreSQL (2)
PostgresBuilderExtensions.cs (2)
379return builder.WithBindMount(source, "/var/lib/postgresql/data", isReadOnly); 394return builder.WithBindMount(source, "/docker-entrypoint-initdb.d", isReadOnly);
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
120return builder.WithBindMount(source, "/qdrant/storage", isReadOnly);
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
104return builder.WithBindMount(source, "/var/lib/rabbitmq", isReadOnly)
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
120builder.WithBindMount(path, $"/var/opt/mssql/{dir}", isReadOnly);
Aspire.Hosting.Tests (3)
DistributedApplicationTests.cs (2)
509.WithBindMount(sourcePath, "path-here"); 538.WithBindMount("etc/path-here", "path-here");
Schema\SchemaTests.cs (1)
100builder.AddRedis("redis").WithBindMount("source", "target");
MySqlDb.AppHost (1)
Program.cs (1)
9.WithBindMount("../MySql.ApiService/data", "/docker-entrypoint-initdb.d")