How to setup vscode-remote on Windows 10 without Docker Desktop? - vscode-remote

I've been using VSCode's remote containers capabilities for some time - such a helpful extension. Problem is, Docker Desktop changed their licensing model and devs are being told not to install it on our machines anymore.
Does anybody know how to setup vscode-remote on a Win 10 system without Docker Desktop?
Is there a way to use other container engines? This could be directly installing on Windows OS or installing on WSL2.
Also, could somebody from MSFT update the remote containers setup instructions to reflect this alternative approach?

Related

PostgreSQL installation on MSCS Windows Cluster

Anyone had to install PostgreSQL on Windows Cluster using shared storage? If so, could you please advise on the installation steps. I know this is not the best approach but I'm running on Windows.

how to install oracle database express on mac m1

I want to Install Oracle Database Express on macbook m1 but it only supports linux and windows, I downloaded Sql developer but I m unable to download Oracle database. I tried to install using docker and OrcaleVM but both attempt were unsuccessfull. I also tried playonmac but it only supports x86 software and x64 software crashes when i try to run. What should i do to install oracle database express on macbook with M1 chip??
Looks like the Oracle Database team hasn't released a build for ARM chipsets yet.
I had a similar issue (w/ docker) and solved it by following these steps:
Uninstall docker desktop if installed
Run brew install colima
Run brew install docker
Run colima start --memory 4 --arch x86_64
Run an Oracle DB image using docker (e.g docker run -e ORACLE_RANDOM_PASSWORD=yes -p 1521:1521 -d gvenzl/oracle-xe)
This should successfully run a container w/ an Oracle DB on the new M1 Macs.
This doesn't answer the question directly, but... A solution worth considering for M1 Mac users is using the Oracle-cloud database. It's "always free" so it's not a trial that expires after a certain time period. It's essentially having your own oracle database in the cloud that you can connect to natively from your own machine
https://www.oracle.com/cloud/free/
It seams that the only way today is to use parallel desktop with an ARM Windows.
To download it you have to register for the Windows Insider Program:
https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64
It should works:
https://github.com/oracle/docker-images/issues/1814#issuecomment-826554712
I've been struggling to find a solution to this for the past couple of days, and finally have a halfway-decent solution. I've had success running Oracle Linux 8 (x86_64) with UTM, and then installing Oracle DB 21c EE in the VM. The setup, configuration and installation is completely manual and will take a significant chunk of time, but the outcome is pretty satisfactory. Mouse didn't work for me, so the GUI is pretty much useless. From what I've read, hardware acceleration doesn't work either, so my recommendation is to stay away from the UI as much as you can. I used keyboard to navigate the OL8 installer, and selected the "server" installation mode with headless packages. The install script (here) from the vagrant project was quite helpful in installing and configuring the DB. Performance-wise, I've found it to be quite snappy (to be fair, I've just tested the basics). The VM consumes ~5GB RAM of the 8GB I've allocated to it. In terms of CPU, I've allocated four cores to the VM, but I haven't seen it use any more than 50% of one core. Again, I use it for very basic CRUD requests, so that's all I've tested it with. And just to give a little context, I'm on the M1 MBA with 16GB RAM.
Regarding Apple M1 specifically, it is a 'known' issue.
Below solution worked for me: You probably installed node with either nvm or brew, by doing that you will install the arm64 version and get this error. The only solution for now is to download and install node from the homepage directly.
Read below for reference:
https://github.com/oracle/node-oracledb/issues/1349
You can install oracle db on apple silicon Mac’s
Oracle Database on Apple Silicon MacBook | M1, M2
https://youtu.be/GJyCY3F0mmI

LocalDb V11.0 on Docker

I am using Visual Studio 2017 for my project but unfortunately there is no support for LocalDb V11. So I would like to have a Docker container with it but couldn't find any existing image for it.
I'd like to have the following connection string to my DB:
"Data Source=(LocalDB)\\v11.0;Initial Catalog={0};Integrated Security=True; Trusted_connection=true;Connection Timeout=60"
So my question is there any Docker Sql-server image with LocalDb v11.0?
Or is it possible to use official microsoft/mssql-server-linux either Linux or Windows?
I'm not aware of an official Docker image for LocalDB. You would need to build a custom (Windows) image from a dockerfile, installing LocalDB via command-line with RUN instructions. But since LocalDB does not allow remote connections, the implication is that you would also need to include your app and dependencies in the image too.
Docker CE for Windows can run either Linux and Windows containers. However, both cannot (currently) run at the same time so you'll need to toggle between the 2 image types if you use both. SQL Server Linux images are lighter weight, allow different editions, and are supported in production. Windows images are needed if you have dependencies on features only available with SQL Server on Windows or prefer a Windows OS.
For non-prod use, consider using the free Developer Edition (Linux or Windows). Developer edition has all the same features as Enterprise but may only be used for development and testing. A lesser edition doesn't provide benefit unless you need to run it in production and want to save costs.
Below are links to the Docker Hub pages.
SQL Server Windows images
SQL Server Linux images
Running either of these images with -p 1433:1433, you can use the connection string from your comment:
"Server=localhost,1433;Initial Catalog={0};User ID=sa;Password=ComplexPW!123"?

Deploying ClickOnce windows forms application on windows server for test user

NOTE: I am not a server administrator, I'm simply a programmer.
I have an application which uses ClickOnce and I was wondering what is the best way to deploy the application on a Windows server for specific groups?
Anyone got any experience with this?
Thanks and best regards
Helios
The answer for me, is to create a shared folder on the server, use the UNC path to publish directly to the server and then only once, install the software, once I publish again, it will show as an update.

Can't get Remote Desktop Services installed on Windows 2012 server

I am trying to install Remote Desktop Services on my dedicated Windows 2012 server but the installation does not start at all. It just stays here:
I have tried restarting the server 2 times and I have run every Windows Update there is. I have tried selecting other features but it will not start the installation. I had it running for hours but it would not install at all (just as the screenshot) and I had to cancel it.
Can any one help me on how to get Remote Desktop Services installed somehow or another? Is there another way to get it installed? I am not in this case installing remotely.
This guide to install via the Powershell seems to help:
http://blogs.technet.com/b/manojnair/archive/2011/12/02/rds-powershell-tfm-part-i-installing-remote-desktop-role-services.aspx

Resources