arnehilmann/markdeck

Does markdeck run on Windows?

n179911 opened this issue · 9 comments

I have tried to install markdeck on windows.
I install curel and bash and ubuntu subsystem and docker on windows.
I run the curl command and then start 'bash', i run the 'scaffold'
But it cant' find 'docker'.

How can I fix this and get this to work in Windows?

Unfortunately I cannot get docker running in a windows VM right now (sometimes it works, sometimes not grr) So I am guessing here right now.

Did you install docker...

  1. by unpacking a zip file (via download.docker.com, wrong way I guess), or
  2. by executing an installer.exe? (via store. docker.com, correct way)?

I tried both, and with variant 1) I had the same problem.
With variant 2), while not being able to start the docker daemon, at least I could find and use the docker command.

I will try to get docker running on Windows again...

mcab commented

I don't believe Windows Subsystem for Linux (WSL) supports running Docker containers, so you'll have to have Docker installed on the Windows host, and then expose it for WSL to use. This guide might help; I might experiment with getting it to run to see if markdeck will run on Windows.

I tried the method #2.

Thanks. I will take a look at the above guide.

mcab commented

After further testing, WSL allows for the convenience scripts to help stop/start/update the project.

If you're comfortable with Docker, you can follow what scaffold does, and just spin up the Docker container manually.

It should launch, and you can can edit your slides from there.

Downside is that you don't have built-in support for updating/starting, but that should just be reliant on changes to docker-compose.yaml.

I am using docker toolbox on windows 10
And am getting this error

$ ./markdeck
./markdeck: line 46: USER: unbound variable

Any idea what I should do ?

Do you use WSL?

Unfortunately cannot use WSL on my Workstation

So I tried using WSL and it was not working as I could not properly install Docker Toolbox and have it connect with WSL
For some reason Oracle Virtual Box (used for Docker Toolbox) seems to mess up WSL. So I can only have one up at a time.

In the end I just used a regular Ubuntu Virtual Box which worked.
So I assume that I could also use Vagrant.

Update:
Found the reason why Virtual Box cannot work with WSL
MicrosoftDocs/WSL#798

I tested it on a windows 10 box with "git for windows" (and its bash emulator), and voila: markdeck 0.54.3 worked!