- Create a gist if you haven't already.
- Clone your gist:
# make sure to replace `<hash>` with your gist's hash git clone https://gist.github.com/<hash>.git # with https git clone git@gist.github.com:<hash>.git # or with ssh
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| version: '3' | |
| services: | |
| mssql-server-linux: | |
| image: microsoft/mssql-server-linux:latest | |
| volumes: | |
| - mssql-server-linux-data:/var/opt/mssql/data | |
| environment: | |
| - ACCEPT_EULA=Y | |
| - SA_PASSWORD=${SQLSERVER_SA_PASSWORD:-yourStrong(!)Password} |
- Turn Off your virtual machine and run the command on the physical Hyper-V host:
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
- Start the virtual machine.
Reference: Run Hyper-V in a Virtual Machine with Nested Virtualization
Please follow this tutorial link
Short version is below in case link goes dead.
apt install xrdp-pulseaudio-installer
xrdp-build-pulse-modules
sudo apt-get install xrdp-pulseaudio-installer -y
-
Turn off your virtual machine
-
Go to
Settings > SCSI Controller > Hard Drive. In the Media section, edit the Virtual Hard Disk and expand to desired space -
Start the virtual machine and connect to it
-
Install the GParted by running the command
sudo apt install gparted
We can run the interactive shell by running the following command:
docker container exec -it MyContainerName bash
Note: From this command, you will be able to get a bash shell running into the cointainer.
Then, we must get the mongo shell as admin. Otherwise, you will not be able to see the databases and collections.
Run mongo -u "USERNAME" -p "PASSWORD" HOSTIP --authenticationDatabase "admin"
