Comments (6)
You have two options:
- either you can bind your host filesystem to the docker container by adding
-v /host/path:/container/path
torun-mtgo
call ;/mnt
or/tmp/host
are examples of common container paths you may use. - or, you can use
docker cp
to transfer data from/to the container while it is running. For instance
From docker to your computer
docker cp mtgo_running:/home/wine/mydeck.dek mydeck.dek
will export the file you saved from MTGO in /home/wine/mydeck.dek (Desktop/My Documents)
From computer to docker
docker cp mydeck2.dek mtgo_running:/home/wine/mydeck2.dek
will import the file from your computer in the container, accessible from MTGO in Desktop/My Documents
Here mtgo_running
is the name of the container, which is set by run-mtgo
.
Hope that helps!
from docker-mtgo.
The easiest way to is modify the run-mtgo script. For example I added this to opts:
-v /media/Storage:/mnt
Which mounted me /media/Storage on my host system to /mnt on the docker image.
from docker-mtgo.
Thank you!
from docker-mtgo.
Hi, I'm running into the same issue and having trouble understanding the commands necessary to move a deck I exported from MTGO onto my Ubuntu host machine.
kyle@kyle-thinkpad:~$ touch tokens.txt
kyle@kyle-thinkpad:~$ cat tokens.txt | sudo docker exec -i mtgo_running tee tokens.txt >/dev/null
After running the following, my tokens.txt on my host machine is still an empty file. Am I misunderstanding the instructions?
I think the problem may be that the .txt files are being saved to C:\users\wine\Desktop\tokens.txt
but I don't see how to save to /home/wine
but I'm unsure. Thanks for any suggestions and thanks for this awesome project!
from docker-mtgo.
Hi, I've updated my answer to makes things clearer.
If you want to go from docker to your computer, you should use the cat command (and from your computer to docker the tee command).
I think the /home/wine can be accessed by using "Desktop/My Documents" in the left pane when you browse files with MTGO ; correct me if I'm wrong and I'll update my answer (otherwise, "Desktop > / > home > wine).
from docker-mtgo.
Thanks @JeffHoogland, figured it out with the following command:
sudo ./run-mtgo -v /home/kyle:/mnt
Thanks for the suggestion.
from docker-mtgo.
Related Issues (20)
- [Question] Can I run this on M1 Macs? HOT 3
- Application Tried to create a window but no driver could be loaded HOT 8
- Play Match hangs on highly populated leagues HOT 19
- Repeated relocate_ntdll errors HOT 1
- Issue when joining leagues HOT 2
- WINEARCH win32? 64bit would have more memory HOT 7
- No in game sound HOT 4
- MTGO fails to download when launched after --reset --update HOT 1
- make more prettier
- Pop-up windows cause strange visual issues HOT 2
- Main window totally freezes after finishing a league
- Major visual fighting for windows to "be on top" HOT 2
- Extend base img with other base architecture HOT 4
- Chat windows often don't appear entirely HOT 1
- Cannot build the docker image from master HOT 5
- Cant export trade binders or full trade list HOT 2
- Can't run ./run-mtgo HOT 1
- Add Wayland Support
- Floating sub-windows move around on their own? HOT 8
- socat[99964] W waitpid(-1, {}, WNOHANG): no child has exited ERROR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mtgo.