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

Accessing ports, transferring file hierarchies, and more #1355

Closed
robogeek opened this issue Feb 14, 2020 · 2 comments
Closed

Accessing ports, transferring file hierarchies, and more #1355

robogeek opened this issue Feb 14, 2020 · 2 comments

Comments

@robogeek
Copy link

I was going to feature Multipass in the latest revision of my book, but after wasting a couple days trying to get things to work I'm giving up and will look for another solution.

What do you mean you cannot expose a port from inside a Multipass instance? Yeah, I understand there is a trick to do with using SSH for port forwarding. Users of Multipass shouldn't have to do that. They should be able to specify -p ##:## as can be done with Docker.

I wanted to transfer in a directory hierarchy. But the transfer command does not take a -r flag. WTF?

What about mounting a single file rather than mounting a directory. You can mount a single file using Docker. e.g. If the image has MySQL running, and you want to mount the /etc/mysql/my.cnf so you can control the configuration from outside the container.

And - MySQL - since instances are ephemeral, it's necessary to keep the database directory outside the container. The obvious solution would be to mount a directory into /var/lib/mysql. But I wasted a few hours trying to get that to work before giving up.

There are so many deficiencies with Multipass that I'm surprised y'all had the bravery to give it a 1.0 version number.

@Saviq
Copy link
Collaborator

Saviq commented Feb 14, 2020

Hi @robogeek, thanks for giving it a try, we have an issue up for at least one of your requests (#309). We'll consider your other points for sure. There are things missing, sure, but that's just software, we're working on it continuously.

One thing that I'm most interested in, though, is your trouble with getting /var/lib/mysql mounted in, could you please expand?

@Saviq
Copy link
Collaborator

Saviq commented Oct 27, 2021

Closing for lack of activity.

@Saviq Saviq closed this as completed Oct 27, 2021
@Saviq Saviq removed the question label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants