{"id":47076635,"url":"https://github.com/yourbase/narwhal","last_synced_at":"2026-03-12T06:49:32.390Z","repository":{"id":54297959,"uuid":"218849261","full_name":"yourbase/narwhal","owner":"yourbase","description":"Make managing Docker a little more friendly!","archived":false,"fork":false,"pushed_at":"2021-02-25T21:51:57.000Z","size":181,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-06-21T06:42:04.586Z","etag":null,"topics":["docker","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yourbase.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}},"created_at":"2019-10-31T19:53:14.000Z","updated_at":"2024-06-21T06:42:04.587Z","dependencies_parsed_at":"2022-08-13T11:20:30.436Z","dependency_job_id":null,"html_url":"https://github.com/yourbase/narwhal","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/yourbase/narwhal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbase%2Fnarwhal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbase%2Fnarwhal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbase%2Fnarwhal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbase%2Fnarwhal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yourbase","download_url":"https://codeload.github.com/yourbase/narwhal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbase%2Fnarwhal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30417673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T06:40:58.731Z","status":"ssl_error","status_checked_at":"2026-03-12T06:40:40.296Z","response_time":114,"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":["docker","golang"],"created_at":"2026-03-12T06:49:30.674Z","updated_at":"2026-03-12T06:49:32.382Z","avatar_url":"https://github.com/yourbase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Narwhal!\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/yourbase/narwhal?tab=doc)](https://pkg.go.dev/github.com/yourbase/narwhal?tab=doc)\n\nNarwhal is a simplistic wrapper around the Docker Go API.\n\n## Examples\nFor full examples and usage see [pkg.go.dev][examples].\n\n```go\n// Create a client\nclient := narwhal.DockerClient()\n\n// Create a container\ncontainerID, err := narwhal.CreateContainer(ctx, client, os.Stdout, narwhal.ContainerDefinition{\n  Image: \"ubuntu:latest\",\n})\n\n// Start a container\nerr := narwhal.StartContainer(ctx, client, containerID)\n\n// Copy a file into a container\nf, err := ioutil.TempFile(\"./\", \"tmpfile\")\nerr = narwhal.UploadFile(ctx, client, containerID, \"/tmp/tmpfile\", f.Name())\n\n// Execute a command in a container\nerr := narwhal.ExecShell(ctx, client, containerID, \"echo 'Hello world!'\", \u0026narwhal.ExecShellOptions{})\n```\n\n[docs]: https://pkg.go.dev/github.com/yourbase/narwhal?tab=doc\n[examples]: https://pkg.go.dev/github.com/yourbase/narwhal?tab=doc#pkg-examples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyourbase%2Fnarwhal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyourbase%2Fnarwhal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyourbase%2Fnarwhal/lists"}