There was an error while loading. Please reload this page.
1 parent 3466f61 commit f4a6455Copy full SHA for f4a6455
1 file changed
Sources/ContainerCommands/Container/ContainerExport.swift
@@ -37,7 +37,7 @@ extension Application {
37
var image: String?
38
39
@Argument(help: "container ID")
40
- var name: String
+ var id: String
41
42
public func run() async throws {
43
let client = ContainerClient()
@@ -48,10 +48,10 @@ extension Application {
48
try? FileManager.default.removeItem(at: tempDir)
49
}
50
51
- let imageName = image ?? name
+ let imageName = image ?? id
52
53
let archive = tempDir.appendingPathComponent("archive.tar")
54
- try await client.export(id: name, archive: archive)
+ try await client.export(id: id, archive: archive)
55
56
let dockerfile = """
57
FROM scratch
0 commit comments