Open olegletynain opened 7 years ago
What do you mean by starting it? Are you trying to attach to it?
@gigatexal yes, I'm trying to run this command:
docker start -a %dockerContainerId%
I've not had the issue you describe when running it with docker run -e ... -p 1433:1433 ... etc. it's when I tried to do docker attach that I got the error you are showing.
Hi @olegletynain - Can you please clarify the repro steps here? Is this right...? You docker run with -e -e -p -d microsoft/mssql-server-linux. That works OK. Then you docker stop the container. That works OK. Then you docker start the container and that is where you get this error about loading the directory?
Hi @twright-msft, @gigatexal probably I described my problem not clear, sorry about it.
So, first I run this command:
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=%PASS%' -p 1433:1433 -d microsoft/mssql-server-linux
And it works OK.
Next, I'm trying to start/attach to contaner:
docker start -a %dockerContainerId%
It start some intall process and in this process it generate this error
Loading the directory /var/opt/mssql/.system/.system/telemetry failed
Is it clear now?
As I understand it sounds like what you are doing is trying to start a container that is already running. What it sounds like you want to do is attach to a running container, probably to run some bash commands. Is that right?
If so, you can use this command instead:
docker exec -it [container id] bash
Does that help?
One of the requirements mentioned at https://github.com/Microsoft/mssql-docker/tree/master/linux/preview
A strong system administrator (SA) password: At least 8 characters including uppercase, lowercase letters, base-10 digits and/or non-alphanumeric symbols.
Hope this help.
@olegletynain - Is this issue resolved or do you need further assistance?
With mssql-server-linux I have a problem: when I'm trying to start container, which was created like this one:
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=%PASS%' -p 1433:1433 -d microsoft/mssql-server-linux
when I'm tring to start it, it generate an error:I have no idea what to do, could you please help me?