{
    "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push",
    "locale": "en",
    "title": "tag-and-push: Knowledge hub | DeLaParra Services",
    "description": "The standard publish flow: tag a local image with the target registry path, then push it there.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/tag-and-push",
        "nl": "https://delaparra-services.nl/nl/kennisbank/tag-and-push"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/tag-and-push.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/tag-and-push.md",
        "json": "https://delaparra-services.nl/knowledge-hub/tag-and-push.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/tag-and-push.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/tag-and-push.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push.csv",
            "encodingFormat": "text/csv",
            "name": "tag-and-push.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push.json",
            "encodingFormat": "application/json",
            "name": "tag-and-push.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push.md",
            "encodingFormat": "text/markdown",
            "name": "tag-and-push.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push.pdf",
            "encodingFormat": "application/pdf",
            "name": "tag-and-push.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push.zip",
            "encodingFormat": "application/zip",
            "name": "tag-and-push.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push/skills.zip",
            "encodingFormat": "application/zip",
            "name": "tag-and-push-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [tag-and-push](<https://delaparra-services.nl/knowledge-hub/tag-and-push>)\n\n  \n\nCategory: Docker \n\n# tag-and-push\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is tag-and-push?\n\n \n\ntag-and-push: The standard publish flow: tag a local image with the target registry path, then push it there. Tag-and-push is the standard way to publish a Docker image. First give the local image a name that includes the registry address, then push it: ` docker tag myapp:1.0 registry.example.com/team/myapp:1.0 `, followed by ` docker push registry.example.com/team/myapp:1.0 `.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about tag-and-push\n\n  \n\n### How is tag-and-push used in practice?\n\n \n\nThe registry path in the name tells Docker where to upload. Without it, Docker assumes Docker Hub.\n\n    \n\n### What should you keep in mind with tag-and-push?\n\n \n\nIn practice, your CI pipeline does this after every successful build, often with the commit hash as the tag. You can also tag the image directly during the build with ` docker build -t registry.example.com/team/myapp:abc123 . `, which saves a step. Log in to the registry first with ` docker login `, and in CI use a token with push rights only for the repositories it needs.\n\n    \n\n### What does an example of tag-and-push look like?\n\n \n\n```\ndocker tag myapp:1.0 ghcr.io/acme/myapp:1.0 docker push ghcr.io/acme/myapp:1.0\n```\n\n \n\n## At a glance\n\n   CategoryDocker Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Docker terms\n\n \n\n- [RUN](<https://delaparra-services.nl/knowledge-hub/run>) \n- [services](<https://delaparra-services.nl/knowledge-hub/services>) \n- [tag](<https://delaparra-services.nl/knowledge-hub/tag>) \n- [tmpfs](<https://delaparra-services.nl/knowledge-hub/tmpfs>) \n- [USER](<https://delaparra-services.nl/knowledge-hub/user>) \n- [VOLUME](<https://delaparra-services.nl/knowledge-hub/volume>)\n\n \n\n[All terms starting with T](<https://delaparra-services.nl/knowledge-hub#letter-t>)\n\n \n\n## Skills\n\n \n\n- ### Docker Project Foundations\n\n \n\nUse this skill when setting up, initializing, or Dockerizing a project, even if the user doesn't explicitly mention Docker but describes a need for containerized local development, adding a database or cache dependency, or running services without host-level installs. Covers Dockerfile, compose.yaml, and .dockerignore creation with Docker best practices.\n\n [View skill](<https://delaparra-services.nl/skills/docker-project-foundations>) [Download zip](<https://delaparra-services.nl/skills/docker-project-foundations/download>) \n- ### Docker Compose Patterns\n\n \n\nUse this skill when creating, modifying, or debugging Docker Compose configurations, even if the user just says they need to wire services together, add a database to their stack, or set up a local development environment with multiple containers. Covers service definitions, health checks, dependency ordering, volumes, networks, environment variables, and development overrides.\n\n [View skill](<https://delaparra-services.nl/skills/docker-compose-patterns>) [Download zip](<https://delaparra-services.nl/skills/docker-compose-patterns/download>) \n- ### Docker Build Strategies\n\n \n\nUse this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their build is slow, or they need to harden a container for production. Covers multi-stage builds, layer caching, .dockerignore, non-root users, and image size optimization.\n\n [View skill](<https://delaparra-services.nl/skills/docker-build-strategies>) [Download zip](<https://delaparra-services.nl/skills/docker-build-strategies/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/tag-and-push/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Docker for your Laravel app](<https://delaparra-services.nl/manuals/docker-voor-je-laravel-app>) \n- [Deploying a Laravel app](<https://delaparra-services.nl/manuals/je-laravel-app-online-zetten>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/tag-and-push)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push",
                "name": "tag-and-push: Knowledge hub | DeLaParra Services",
                "description": "The standard publish flow: tag a local image with the target registry path, then push it there.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#term",
                    "name": "tag-and-push",
                    "description": "The standard publish flow: tag a local image with the target registry path, then push it there.",
                    "termCode": "tag-and-push",
                    "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push",
                    "inLanguage": "en",
                    "keywords": "Docker",
                    "dateModified": "2026-11-25T17:46:30+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is tag-and-push?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "The standard publish flow: tag a local image with the target registry path, then push it there. Tag-and-push is the standard way to publish a Docker image. First give the local image a name that includes the registry address, then push it: docker tag myapp:1.0 registry.example.com/team/myapp:1.0, followed by docker push registry.example.com/team/myapp:1.0."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is tag-and-push used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "The registry path in the name tells Docker where to upload. Without it, Docker assumes Docker Hub."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with tag-and-push?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "In practice, your CI pipeline does this after every successful build, often with the commit hash as the tag. You can also tag the image directly during the build with docker build -t registry.example.com/team/myapp:abc123 ., which saves a step. Log in to the registry first with docker login, and in CI use a token with push rights only for the repositories it needs."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of tag-and-push look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "docker tag myapp:1.0 ghcr.io/acme/myapp:1.0 docker push ghcr.io/acme/myapp:1.0"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-project-foundations#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-compose-patterns#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-build-strategies#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/docker-voor-je-laravel-app#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/je-laravel-app-online-zetten#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "tag-and-push"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#dataset",
                "name": "tag-and-push",
                "description": "The standard publish flow: tag a local image with the target registry path, then push it there.",
                "url": "https://delaparra-services.nl/knowledge-hub/tag-and-push",
                "identifier": "https://delaparra-services.nl/knowledge-hub/tag-and-push#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/tag-and-push#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Docker",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:30+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "tag-and-push.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/tag-and-push.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:30+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "tag-and-push.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/tag-and-push.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:30+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "tag-and-push.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/tag-and-push.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:30+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "tag-and-push.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/tag-and-push.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:30+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "tag-and-push.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/tag-and-push.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:30+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "tag-and-push-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/tag-and-push/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:30+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}