Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 6139b4b4195bd591f6cf32550c310fa217e5abab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*******************************************************************************
 * Copyright (c) 2014 Red Hat.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Red Hat - Initial Contribution
 *******************************************************************************/
package org.eclipse.linuxtools.docker.core;

import java.util.List;
import java.util.Set;

public interface IDockerContainerConfig {

	public String hostname();

	public String domainname();

	public String user();

	public Long memory();

	public Long memorySwap();

	public Long cpuShares();

	public String cpuset();

	public boolean attachStdin();

	public boolean attachStdout();

	public boolean attachStderr();

	public List<String> portSpecs();

	public Set<String> exposedPorts();

	public boolean tty();

	public boolean openStdin();

	public boolean stdinOnce();

	public List<String> env();

	public List<String> cmd();

	public String image();

	public Set<String> volumes();

	public String workingDir();

	public List<String> entrypoint();

	public boolean networkDisabled();

	public List<String> onBuild();

	// FIXME: to be included in Neon
	// public Map<String, String> labels();

}

Back to the top