// Path: rx-docker-client/src/main/java/com/shekhargulati/reactivex/docker/client/RxDockerClient.java
// public interface RxDockerClient extends MiscOperations, ContainerOperations, ImageOperations {
// 
//     String DEFAULT_DOCKER_HOST = "127.0.0.1";
//     int DEFAULT_DOCKER_PORT = 2375;
// 
//     /**
//      * Builds the client using DOCKER_HOST and DOCKER_CERT_PATH environment variables
//      *
//      * @return a new instance of DefaultRxDockerClient
//      */
//     static RxDockerClient fromDefaultEnv() {
//         return newDockerClient(System.getenv("DOCKER_HOST"), System.getenv("DOCKER_CERT_PATH"));
//     }
// 
//     static DefaultRxDockerClient newDockerClient(final String dockerHost, final String dockerCertPath) {
//         return new DefaultRxDockerClient(dockerHost, dockerCertPath);
//     }
// 
//     String getApiUri();
// 
// }


import com.shekhargulati.reactivex.docker.client.RxDockerClient;
import com.shekhargulati.reactivex.docker.client.representations.*;
import java.util.*;
/*
 * The MIT License
 *
 * Copyright 2015 Shekhar Gulati <shekhargulati84@gmail.com>.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package com.shekhargulati.reactivex.rx_docker_client.samples;



public class CreateExposePortsAndStartContainer {

    public static void main(String[] args) {
// Path: rx-docker-client/src/main/java/com/shekhargulati/reactivex/docker/client/RxDockerClient.java
// public interface RxDockerClient extends MiscOperations, ContainerOperations, ImageOperations {
// 
//     String DEFAULT_DOCKER_HOST = "127.0.0.1";
//     int DEFAULT_DOCKER_PORT = 2375;
// 
//     /**
//      * Builds the client using DOCKER_HOST and DOCKER_CERT_PATH environment variables
//      *
//      * @return a new instance of DefaultRxDockerClient
//      */
//     static RxDockerClient fromDefaultEnv() {
//         return newDockerClient(System.getenv("DOCKER_HOST"), System.getenv("DOCKER_CERT_PATH"));
//     }
// 
//     static DefaultRxDockerClient newDockerClient(final String dockerHost, final String dockerCertPath) {
//         return new DefaultRxDockerClient(dockerHost, dockerCertPath);
//     }
// 
//     String getApiUri();
// 
// }


// Path: samples/src/main/java/com/shekhargulati/reactivex/rx_docker_client/samples/CreateExposePortsAndStartContainer.java
import com.shekhargulati.reactivex.docker.client.RxDockerClient;
import com.shekhargulati.reactivex.docker.client.representations.*;
import java.util.*;

/*
 * The MIT License
 *
 * Copyright 2015 Shekhar Gulati <shekhargulati84@gmail.com>.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package com.shekhargulati.reactivex.rx_docker_client.samples;



public class CreateExposePortsAndStartContainer {

    public static void main(String[] args) {
        RxDockerClient client = RxDockerClient.fromDefaultEnv();