{"id":18466203,"url":"https://github.com/rainoffallingstar/dockerr","last_synced_at":"2025-06-21T22:40:53.228Z","repository":{"id":228404111,"uuid":"773846199","full_name":"rainoffallingstar/dockerR","owner":"rainoffallingstar","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-11T04:07:30.000Z","size":1443,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T17:49:21.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rainoffallingstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-18T13:58:05.000Z","updated_at":"2024-03-18T13:58:33.000Z","dependencies_parsed_at":"2024-04-11T05:24:25.429Z","dependency_job_id":"81a16919-d074-4f8a-90fd-6d819786a24e","html_url":"https://github.com/rainoffallingstar/dockerR","commit_stats":null,"previous_names":["rainoffallingstar/dockerr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainoffallingstar%2FdockerR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainoffallingstar%2FdockerR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainoffallingstar%2FdockerR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainoffallingstar%2FdockerR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainoffallingstar","download_url":"https://codeload.github.com/rainoffallingstar/dockerR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251887645,"owners_count":21660021,"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-06T09:15:38.198Z","updated_at":"2025-05-01T14:22:55.590Z","avatar_url":"https://github.com/rainoffallingstar.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"### dockerR\n\n\u003cimg src=\"https://github.com/rainoffallingstar/dockerR/blob/master/dev/logo_ny.png\" height=\"200\" align=\"right\"/\u003e\n\nThis is an R package wirtten for managing docker images and containers under R, warping most the docker cli commands.\n\ninstall by:\n\n``` r\npak::pak(\"rainoffallingstar/dockerR\")\n```\n\n#### Dependences(now \u0026 future)\n\n-   docker\n-   docker compose\n-   podman(support by parameter {\"use_podman = TRUE\"})\n\n#### Feature\n\n-   %\\\u003e% pipline eg. image_rmi(\"diygod/rsshub\") %\\\u003e% image_pull() %\\\u003e% image_tag(\"fall/rsshub\").\n\n-   Full workflow with docker image pull,container creatation, container control and container update.\n\n-   docker compose supoort.\n\n#### Functions\n\n-   lscontainer : list all the containers\n\n-   lsimage : list all the images\n\n-   image_rmi : remove imges\n\n-   image_pull : pull images\n\n-   image_tag : change the tags of image\n\n-   image_build : build an image from dockerfile\n\n-   image_push: push build images to dockerhub\n\n-   image_save : save images as tar format\n\n-   image_load: load/import image from a tar file\n\n-   container_run : run/create a container with all parameters\n\n-   container_control: control the statue of containers by stop, start ,restart and delete(rm)\n\n-   container_update : update the container when the upstream image changes\n\n-   container_updateParameter : update the parameter of a running container\n\n-   container_exec : run commands inside the container\n\n-   container_dockercompose: run/initial a container by a yaml file with docker compose\n\n-   docker_info: show docker info\n\n-   docker_version : show docker version\n\n-   docker_stats: show container stats under running\n\n#### Tips\n\n-   How to schdule a rscript in windows/macos/linux\n\n    \u003e by run the following commands in the terminal as an example\n\n    ``` bash\n    # in win \n    schtasks /create /tn \"Run R Script at 6 AM\" /tr \"C:\\Program Files\\R\\R-4.3.3\\bin\\x64\\Rscript.exe D:\\fallingstarGitcode\\dockerR\\dev\\example\\container-autoupdate.R\" /sc daily /st 06:00\n\n    # in macos \u0026 linux\n    crontab -e \n    0 6 * * * /usr/bin/Rscript /path/to/your/script.R\n    ```\n\n#### RoadMap\n\n-   clean the code (a bit mass now but runs well ,lol)\n\n-   better test examples\n\n-   more features with the docker cli commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainoffallingstar%2Fdockerr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainoffallingstar%2Fdockerr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainoffallingstar%2Fdockerr/lists"}