ติดตั้ง n8n แบบ Self-host ด้วย Docker Desktop

2 min read 6 days ago
Published on Aug 31, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

In this tutorial, you'll learn how to set up n8n, a powerful automation tool, using Docker Desktop on your local machine. This guide is perfect for beginners who prefer a graphical user interface (GUI) over command-line instructions. By following these steps, you'll be able to explore automation workflows with n8n without the complexity of coding.

Step 1: Install Docker Desktop

  • Download Docker Desktop from the official website: Docker Desktop.
  • Follow the installation prompts specific to your operating system (Windows or Mac).
  • After installation, launch Docker Desktop and ensure it is running properly. You should see the Docker icon in your system tray.

Step 2: Pull the n8n Image

  • Open Docker Desktop.
  • Navigate to the "Images" tab.
  • Click on the "Pull" button to download the n8n image.
  • In the search bar, type n8n and select the official n8n image.
  • Wait for the image to download completely.

Step 3: Create a Container from the n8n Image

  • Go to the "Containers / Apps" tab in Docker Desktop.
  • Click on the "Create" button to set up a new container.
  • Fill in the following details:
    • Container name: Choose a name for your n8n container.
    • Image: Select n8n from the dropdown menu.
  • Configure additional settings:
    • Set the ports to map (default is usually 5678).
    • Choose to run the container in the background (detached mode).
  • Click "Create" to launch your n8n container.

Step 4: Access n8n in Your Browser

  • Open your web browser.
  • Type http://localhost:5678 in the address bar and press Enter.
  • You should see the n8n interface, indicating that it is successfully running.

Tips and Common Pitfalls

  • Ensure that Docker Desktop is running before attempting to pull the n8n image or create a container.
  • If you encounter any issues accessing n8n in your browser, double-check that the container is running in Docker Desktop.
  • Familiarize yourself with the n8n documentation to explore its features and capabilities further.

Conclusion

You've successfully installed n8n using Docker Desktop without needing to use command-line instructions. Now you can start creating and automating workflows. Explore the various integrations and tools n8n offers to enhance your productivity further. For more advanced setups, consider checking out additional resources or documentation provided by n8n. Happy automating!