当前位置:网站首页>Multipass Chinese document - share data with instances
Multipass Chinese document - share data with instances
2022-06-26 04:40:00 【But the teacher】
General catalogue ( To be translated and perfected )
1. overview
2. course
3. Directions for use
3.1 install Multipass
3.1.1 be based on Linux
3.1.2 be based on macOS
3.1.3 be based on Windows
3.2 Manage instances
3.2.1 Create examples
3.2.2 Modify instance
3.2.3 Using examples
3.2.4 Use the instance command alias
3.2.5 Share data with instances
3.2.6 Remove instance
3.3 management Multipass
3.3.1 Set the drive
3.3.2 Use Multipass Service authorization agent
3.3.3 Remote use Multipass
3.3.4 Improve mount performance
3.3.5 Use Packer pack Multipass Mirror image
3.3.6 Set image interface
3.3.7 Use different macOS terminal
3.4 Troubleshoot problems
3.4.1 Connection log
3.4.2 Network troubleshooting
How to share data with instances
See also : Instance
This document shows how to share data between your hosts and instances . There are two ways to achieve , One is mount command , The other is transfer command .
Content :
Use mount command
Between host and Multipass Sharing data between instances , Recommended mount command :
$ multipass mount $HOME keen-yak
$ multipass info keen-yak
...
Mounts: /home/michal => /home/michal
From the start ,/home/michal Will be available within the instance .
You can also visualize the path in the instance to mount the local path :
$ multipass mount $HOME keen-yak:/some/path
Mounting can also be done in launch As one of the options in the command :
multipass launch --mount /some/local/path:/some/instance/path
Use umount Unhook the mounted path . You can use a specific path to unmount , You can also cancel all mounts at once without using the path :
$ multipass umount keen-yak
$ multipass info keen-yak
...
Mounts: --
Use transfer command
You can also use transfer The command only copies files . If the file is in the instance , Add before path Instance name Prefix :
$ multipass transfer keen-yak:/etc/crontab keen-yak:/etc/fstab /home/michal
$ ls -l /home/michal/crontab /home/michal/fstab
-rw-r--r-- 1 michal michal 722 Oct 18 12:13 /home/michal/crontab
-rw-r--r-- 1 michal michal 82 Oct 18 12:13 /home/michal/fstab
$ multipass transfer /home/michal/crontab /home/michal/fstab keen-yak
$ multipass exec keen-yak -- ls -l crontab fstab
-rw-rw-r-- 1 ubuntu ubuntu 722 Oct 18 12:14 crontab
-rw-rw-r-- 1 ubuntu ubuntu 82 Oct 18 12:14 fstab
Link to the original text
边栏推荐
- PHP small factory moves bricks for three years - interview series - my programming life
- Install SVN in Pagoda and build SVN version Library
- Sort query
- Multipass中文文档-使用Multipass服务授权客户端
- Hash problem
- Numpy general function
- Install Damon database
- Database design (I)
- A troubleshooting of website crash due to high CPU
- 2020-12-18
猜你喜欢

Resolve PHP is not an internal or external command

Group by and order by are used together

1.12 learning summary
![Notes on enterprise wechat development [original]](/img/66/cd83f4f86b7c42921db45f07957c15.jpg)
Notes on enterprise wechat development [original]

How to use the configured slave data source for the scheduled task configuration class scheduleconfig
![[H5 development] 01 take you to experience H5 development from a simple page ~ the whole page implementation process from static page to interface adjustment manual teaching](/img/e4/27611abdd000019e70f4447265808c.jpg)
[H5 development] 01 take you to experience H5 development from a simple page ~ the whole page implementation process from static page to interface adjustment manual teaching

mysql高级学习(跟着尚硅谷老师周阳学习)

2022 talent strategic transformation under the development trend of digital economy

Gateway can not connect to tcp://127.0.0.1: Connection refused
![[geek challenge 2019] rce me](/img/92/978c54fb42391198300c76ae92893d.jpg)
[geek challenge 2019] rce me
随机推荐
Install SVN in Pagoda and build SVN version Library
Navicat connects the pit of shardingsphere sub table and sub library plug-ins
[geek challenge 2019] rce me
2022.2.16
Gateway can not connect to tcp://127.0.0.1: Connection refused
企业的产品服务怎么进行口碑营销?口碑营销可以找人代做吗?
1.16 learning summary
[H5 development] 01 take you to experience H5 development from a simple page ~ the whole page implementation process from static page to interface adjustment manual teaching
Multipass中文文档-移除实例
PHP get mobile number operator
Thymeleaf data echo, single selection backfill, drop-down backfill, time frame backfill
1064 (42000) error occurred when installing MySQL and modifying root password
Use shell script to analyze system CPU, memory and network throughput
Laravel pay payment access process
202.2.9
Motivational skills for achieving goals
Alipay failed to verify the signature (sandbox test indicates fishing risk?) [original]
2022.2.17
做软件测试学历重要还是能力重要
Multipass中文文档-设置驱动