{"id":21524839,"url":"https://github.com/sadatech/docker-ubuntu-baseline","last_synced_at":"2025-03-17T18:17:48.176Z","repository":{"id":44890647,"uuid":"447114777","full_name":"sadatech/docker-ubuntu-baseline","owner":"sadatech","description":"Ubuntu Base Line Image","archived":false,"fork":false,"pushed_at":"2023-07-11T00:22:16.000Z","size":52414,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-03-17T06:49:40.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sadatech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-12T07:16:17.000Z","updated_at":"2022-01-12T07:21:15.000Z","dependencies_parsed_at":"2022-09-14T04:51:33.853Z","dependency_job_id":null,"html_url":"https://github.com/sadatech/docker-ubuntu-baseline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fdocker-ubuntu-baseline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fdocker-ubuntu-baseline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fdocker-ubuntu-baseline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fdocker-ubuntu-baseline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadatech","download_url":"https://codeload.github.com/sadatech/docker-ubuntu-baseline/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085010,"owners_count":20395523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T01:29:59.656Z","updated_at":"2025-03-17T18:17:48.156Z","avatar_url":"https://github.com/sadatech.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ubuntu Baseline Image for Docker Container\n[![Build Status](https://travis-ci.org/sadatech/docker-ubuntu-baseline.svg?branch=master)](https://travis-ci.org/sadatech/docker-ubuntu-baseline)\n\nRun SystemD inside Ubuntu Docker Container\n\n### Baseline images\n- ubuntu-bionic-oci-amd64-root\n- ubuntu-focal-oci-amd64-root\n\n### Installed Features\n- systemd\n- rsyslog\n- cron\n- dos2unix\n- git\n- userd handler\n\n\n### Usage\n1. Run the container as a daemon\n    ```sh\n    docker run -d -it --name docker-ubuntu-baseline \u0026\u0026 \\\n    --restart always \u0026\u0026 \\\n    --tmpfs /tmp --tmpfs /run --tmpfs /run/lock \u0026\u0026 \\\n    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \u0026\u0026 \\\n    sadaindonesia/ubuntu-baseline:tagname\n    ``` \n    or if it doesn't work\n    \n    ```sh\n    docker run -d -it --name docker-ubuntu-baseline \u0026\u0026 \\\n    -- restart always \u0026\u0026 \\\n    --privileged \u0026\u0026 \\\n    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \u0026\u0026 \\\n    sadaindonesia/ubuntu-baseline:tagname\n    ```\n    \n2. Enter to the container\n    ```sh\n    docker exec -it docker-ubuntu-baseline bash\n    ```\n    \n2. Remove to the container\n    ```sh\n    docker rm -f docker-ubuntu-baseline\n    ```\n\n## Docker\n\nVery easy to install and deploy in a Docker container.\n\nBy default, the Docker will expose port 8080, so change this within the\nDockerfile if necessary. When ready, simply use the Dockerfile to\nbuild the image.\n\n```sh\ncd docker-ubuntu-baseline\ndocker build -t \u003cyouruser\u003e/docker-ubuntu-baseline:${package.json.version} .\n```\n\nThis will create the image and pull in the necessary dependencies.\nBe sure to swap out `${package.json.version}` with the actual\nversion.\n\nOnce done, run the Docker image and map the port to whatever you wish on\nyour host. In this example, we simply map port 8000 of the host to\nport 8080 of the Docker (or whatever port was exposed in the Dockerfile):\n\n```sh\ndocker run -d -it -p 8000:8080 --restart=always --privileged --name=docker-ubuntu-baseline \u003cyouruser\u003e/docker-ubuntu-baseline:${package.json.version}\n```\n\n\u003e Note: `--capt-add=SYS-ADMIN` is required for PDF rendering.\n\nVerify the deployment by navigating to your server address in\nyour preferred browser.\n\n```sh\n127.0.0.1:8000\n```\n\n### License\n\nMIT\n\n**Free Software, Hell Yeah!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadatech%2Fdocker-ubuntu-baseline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadatech%2Fdocker-ubuntu-baseline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadatech%2Fdocker-ubuntu-baseline/lists"}