This commit is contained in:
		
							parent
							
								
									736d212b7e
								
							
						
					
					
						commit
						e6c68fcfae
					
				
					 1 changed files with 19 additions and 3 deletions
				
			
		
							
								
								
									
										22
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
									
									
									
									
								
							| 
						 | 
					@ -30,16 +30,18 @@ Container for distrobox that I use for development that is based on fedora-toolb
 | 
				
			||||||
Including systemd:
 | 
					Including systemd:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname drone --init
 | 
					distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname (hostname) --init
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
No systemd:
 | 
					No systemd:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname drone
 | 
					distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname (hostname)
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
When the container you can enter it and run *code* out of there:
 | 
					Hostname must be same as the host's machines, otherwise exported apps are shown wrongly in the luncher.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					To enter the container:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
distrobox enter drone
 | 
					distrobox enter drone
 | 
				
			||||||
| 
						 | 
					@ -54,3 +56,17 @@ distrobox-export --app code
 | 
				
			||||||
From the host system this image imports `podman` and `incus` so you can use both inside the container.
 | 
					From the host system this image imports `podman` and `incus` so you can use both inside the container.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Any application can work both ways. *distrobox* mounts wayland socket into the container so even GUI apps work seamlessly.
 | 
					Any application can work both ways. *distrobox* mounts wayland socket into the container so even GUI apps work seamlessly.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					There is wrong *StartupWMClass* parameter that equals `Code` in *drone-code.desktop* file. It should read:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					StartupWMClass=code
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Otherwise Gnome will wrongly group vscode's windows together.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Other tools to export:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					distrobox-export --bin aws
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue