markdeck icon indicating copy to clipboard operation
markdeck copied to clipboard

Does markdeck run on Windows?

Open n179911 opened this issue 6 years ago • 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?

n179911 avatar Jan 11 '19 07:01 n179911

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...

arnehilmann avatar Jan 11 '19 13:01 arnehilmann

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.

mcab avatar Jan 13 '19 20:01 mcab

I tried the method #2.

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

n179911 avatar Jan 13 '19 20:01 n179911

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.

mcab avatar Jan 15 '19 17:01 mcab

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 ?

dmastag avatar Sep 15 '20 14:09 dmastag

Do you use WSL?

arnehilmann avatar Sep 15 '20 20:09 arnehilmann

Unfortunately cannot use WSL on my Workstation

dmastag avatar Sep 16 '20 04:09 dmastag

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 https://github.com/MicrosoftDocs/WSL/issues/798

dmastag avatar Sep 17 '20 13:09 dmastag

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

arnehilmann avatar Dec 17 '20 19:12 arnehilmann