File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ Volumes listed in `iobBackup` are tagged for inclusion in ioBroker backup routin
180180-->
181181
182182# # Changelog
183- # ## 0.1.0 (2025-10-09)
183+ # ## **WORK IN PROGRESS**
184184- (@GermanBluefox) Split the docker manager into pure docker commands and monitoring of own containers
185185
186186# ## 0.0.3 (2025-09-25)
Original file line number Diff line number Diff line change @@ -1830,9 +1830,11 @@ export default class DockerManager {
18301830 const container = await this . #dockerode. createContainer ( {
18311831 Image : 'alpine' ,
18321832 name : tempContainerName ,
1833+
18331834 Cmd : [ 'sleep' , '30' ] ,
18341835 HostConfig : {
18351836 Binds : [ `${ volumeName } :/data` ] ,
1837+ AutoRemove : true ,
18361838 } ,
18371839 } ) ;
18381840 try {
@@ -1867,7 +1869,7 @@ export default class DockerManager {
18671869
18681870 // create a temporary container with volume mounted
18691871 const createResult = await this . #exec(
1870- `create -v ${ volumeName } :/data --name ${ tempContainerName } alpine sleep 60` ,
1872+ `create -rm - v ${ volumeName } :/data --name ${ tempContainerName } alpine sleep 60` ,
18711873 ) ;
18721874 if ( createResult . stderr ) {
18731875 return { stdout : '' , stderr : `Cannot create temporary container: ${ createResult . stderr } ` } ;
You can’t perform that action at this time.
0 commit comments