Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does markdeck run on Windows? #8

Open
n179911 opened this issue Jan 11, 2019 · 9 comments
Open

Does markdeck run on Windows? #8

n179911 opened this issue Jan 11, 2019 · 9 comments

Comments

@n179911
Copy link

n179911 commented Jan 11, 2019

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?

@arnehilmann
Copy link
Owner

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
Copy link

mcab commented Jan 13, 2019

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.

@n179911
Copy link
Author

n179911 commented Jan 13, 2019

I tried the method #2.

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

@mcab
Copy link

mcab commented Jan 15, 2019

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.

@dmastag
Copy link

dmastag commented Sep 15, 2020

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 ?

@arnehilmann
Copy link
Owner

Do you use WSL?

@dmastag
Copy link

dmastag commented Sep 16, 2020

Unfortunately cannot use WSL on my Workstation

@dmastag
Copy link

dmastag commented Sep 17, 2020

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

@arnehilmann
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants