microsoft / microsoft/aspire

SqlServer WithVolume access denied

Open
#7,182 9 comments 0 reactions 0 assignees View on GitHub
area-integrations sqlserver
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

when using the WithVolume extension method on the AddSqlServer - IResourceBuilder for the data and/or log paths '/var/opt/mssql/data' or '/var/opt/mssql/log' the container fails to start and reports 'access denied'

### Expected Behavior

creates and mounts the volume for the given folder(s) creating the data/log files with in the specified volume.

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version info

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.