Skip to content

Ubuntu-Wine Docker, based on Ubuntu 16.04 & Wine 1.8

License

Notifications You must be signed in to change notification settings

zeroc0d3lab/ubuntu-wine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu-Wine

Build Status GitHub issues GitHub forks GitHub stars GitHub license

forthebadge forthebadge

Ubuntu-Wine Docker, based on Ubuntu 16.04 & Wine 1.8

How To Start ?

  • Build container
docker build -it [name_container] .

example:

docker build -t zeroc0d3lab/ubuntu-wine .
  • Run Container
docker run -it [name_container]

example:

docker run -t zeroc0d3lab/ubuntu-wine
  • Running Inside Container
## Check all running docker
docker ps
## Get name_container / id_container (from "docker ps")
docker inspect [name_container/id_container]
## Run terminal inside container
docker exec -it [name_container/id_container] /bin/bash

example:

docker ps

CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS               NAMES
bd7a29f05d2c        f1aea966a1e2            "/bin/sh -c 'apt-g..."   26 minutes ago      Up 26 minutes                           ubuntu-wine
80bda8ce44c1        docker/compose:1.11.1   "/usr/bin/docker-c..."   26 minutes ago      Up 26 minutes                           serene_booth
docker inspect ubuntu-wine    ## Or ##
docker inspect bd7a29f05d2c

[
  {
  ...

    "NetworkSettings": {
        "Bridge": "",
        "SandboxID": "4584d5aa3cd906d87956275da20e3767daea79eb575f3121a60ecf52a4389cd2",
        "HairpinMode": false,
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "Ports": {},
        "SandboxKey": "/var/run/docker/netns/4584d5aa3cd9",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null,
        "EndpointID": "27965d83028d5497c6e1899386689bcec61f4e53b2201751130286344921e4d2",
        "Gateway": "172.17.0.1",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "IPAddress": "172.17.0.3",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "MacAddress": "02:42:ac:11:00:03",
        "Networks": {
            "bridge": {
                "IPAMConfig": null,
                "Links": null,
                "Aliases": null,
                "NetworkID": "a756943708ebacd70905bf11cac68ae38def966cfdb11b6bd0d12481aa05c7fc",
                "EndpointID": "27965d83028d5497c6e1899386689bcec61f4e53b2201751130286344921e4d2",
                "Gateway": "172.17.0.1",
                "IPAddress": "172.17.0.3",
                "IPPrefixLen": 16,
                "IPv6Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "MacAddress": "02:42:ac:11:00:03"
            }
        }
    }
  }
]
docker exec -it ubuntu-wine /bin/bash  ## Or ##
docker exec -it bd7a29f05d2c /bin/bash

Docker Compose

  • Copy .env.example to .env
  • Copy docker-compose.skeleton.yml to docker-compose.yml
  • Build & running
    docker-compose build && docker-compose up
    
  • Force recreate container
    docker-compose build && docker-compose up --force-recreate
    
  • Running container only
    docker-compose up
    

License

MIT License