{"id":19083442,"url":"https://github.com/emrd/docker-import-tar-file","last_synced_at":"2026-05-07T09:31:01.575Z","repository":{"id":250886090,"uuid":"835753173","full_name":"EmrD/docker-import-tar-file","owner":"EmrD","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-30T13:24:00.000Z","size":17459,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T06:26:11.387Z","etag":null,"topics":["composer","containerization","docker"],"latest_commit_sha":null,"homepage":"","language":"Nix","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/EmrD.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-30T13:14:57.000Z","updated_at":"2024-08-19T13:47:40.000Z","dependencies_parsed_at":"2024-07-30T17:10:26.687Z","dependency_job_id":null,"html_url":"https://github.com/EmrD/docker-import-tar-file","commit_stats":null,"previous_names":["emrd/docker-import-tar-file"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EmrD/docker-import-tar-file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmrD%2Fdocker-import-tar-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmrD%2Fdocker-import-tar-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmrD%2Fdocker-import-tar-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmrD%2Fdocker-import-tar-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmrD","download_url":"https://codeload.github.com/EmrD/docker-import-tar-file/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmrD%2Fdocker-import-tar-file/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["composer","containerization","docker"],"created_at":"2024-11-09T02:47:30.738Z","updated_at":"2026-05-07T09:31:01.557Z","avatar_url":"https://github.com/EmrD.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\r\n---\r\n\r\n# React + Vite - Docker Usage\r\n\r\n## Transferring to This Production Environment\r\n\r\nThe above steps will create a file named `my-app.tar`. This file allows you to move your Docker image to another production environment.\r\n\r\n1. **Transfer the Tar File**\r\n\r\n   Transfer the `my-app.tar` file to your new production environment (e.g., another server). You can use methods such as SCP, FTP, or any other file transfer tool.\r\n\r\n2. **Load the Docker Image in the New Environment**\r\n\r\n   On the new production environment, load the Docker image from the tar file:\r\n\r\n   ```bash\r\n   docker load -i my-app.tar\r\n   ```\r\n\r\n3. **Run the Docker Image**\r\n\r\n   Once the image is loaded, you can run it. The following command will start the container and map port `80` of the host to port `80` of the container:\r\n\r\n   ```bash\r\n   docker run -p 80:80 my-app:latest\r\n   ```\r\n\r\n## Notes\r\n\r\n- **Dockerfile**: Make sure a Dockerfile is present in your project's root directory, defining how the application should be built.\r\n- **Port Configuration**: The `-p` parameter in the `docker run` command binds the host port to the container port. Adjust this parameter based on the ports your application uses.\r\n\r\n---\r\n\r\nThis README file provides a step-by-step guide on Docker usage and transferring your project to a new environment, making it easier to manage and deploy your application.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrd%2Fdocker-import-tar-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femrd%2Fdocker-import-tar-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrd%2Fdocker-import-tar-file/lists"}