Need advice about which tool to choose?Ask the StackShare community!

Conan

84
108
+ 1
10
Docker

174.2K
140K
+ 1
3.9K
Add tool

Conan vs Docker: What are the differences?

  1. Conan: Conan is an open-source C/C++ package manager that allows developers to easily manage dependencies and build systems for their projects.
  2. Docker: Docker is an open-source platform that allows developers to automate the deployment of applications inside software containers.

  3. Package Management: Conan focuses specifically on package management for C/C++ projects. It provides a comprehensive solution for managing dependencies, including version control, binary uploads, and package sharing. On the other hand, Docker is a more general-purpose platform that can be used with multiple programming languages and technologies.

  4. Isolation and Portability: One of the key differences between Conan and Docker is their approach to isolation and portability. Docker provides a high level of isolation by running applications in lightweight containers, which ensures consistency across different environments. Conan, on the other hand, manages dependencies at the project level, allowing for greater control and flexibility but potentially requiring more effort to ensure portability across different environments.

  5. Build Systems: Conan integrates with popular build systems like CMake and Make to manage the build process and handle dependencies seamlessly. It provides an easy-to-use configuration interface that allows developers to define dependencies, specify versions, and manage build configurations. Docker, on the other hand, abstracts away the build system and provides a unified runtime environment, making it easier to package and deploy applications.

  6. Deployment and Scaling: Docker provides a powerful platform for deploying and scaling applications across different environments and infrastructure. It allows developers to define application stacks and deploy them in a consistent and reproducible manner. Conan, on the other hand, focuses more on managing dependencies and build systems, providing a solid foundation for the development process but requiring additional tools and platforms for deployment and scaling.

In summary, Conan and Docker have distinct focuses and serve different purposes. Conan is a package manager specifically designed for C/C++ projects, providing comprehensive dependency management and build system integration. Docker, on the other hand, is a general-purpose platform that automates the deployment of applications inside containers, offering isolation, portability, and scalability across different environments.

Decisions about Conan and Docker
Florian Sager
IT DevOp at Agitos GmbH · | 3 upvotes · 453.4K views
Chose
LXDLXD
over
DockerDocker

lxd/lxc and Docker aren't congruent so this comparison needs a more detailed look; but in short I can say: the lxd-integrated administration of storage including zfs with its snapshot capabilities as well as the system container (multi-process) approach of lxc vs. the limited single-process container approach of Docker is the main reason I chose lxd over Docker.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Conan
Pros of Docker
  • 4
    Crossplatform builds
  • 3
    Easy to maintain used dependencies
  • 2
    Build recipes can be very flexble
  • 1
    Integrations with cmake, qmake and other build systems
  • 823
    Rapid integration and build up
  • 692
    Isolation
  • 521
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 460
    Lightweight
  • 218
    Standardization
  • 185
    Scalable
  • 106
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 88
    Security
  • 85
    Private paas environments
  • 34
    Portability
  • 26
    Limit resource usage
  • 17
    Game changer
  • 16
    I love the way docker has changed virtualization
  • 14
    Fast
  • 12
    Concurrency
  • 8
    Docker's Compose tools
  • 6
    Fast and Portable
  • 6
    Easy setup
  • 5
    Because its fun
  • 4
    Makes shipping to production very simple
  • 3
    It's dope
  • 3
    Highly useful
  • 2
    Does a nice job hogging memory
  • 2
    Open source and highly configurable
  • 2
    Simplicity, isolation, resource effective
  • 2
    MacOS support FAKE
  • 2
    Its cool
  • 2
    Docker hub for the FTW
  • 2
    HIgh Throughput
  • 2
    Very easy to setup integrate and build
  • 2
    Package the environment with the application
  • 2
    Super
  • 0
    Asdfd

Sign up to add or upvote prosMake informed product decisions

Cons of Conan
Cons of Docker
  • 1
    3rd party recipes can be flawed
  • 8
    New versions == broken features
  • 6
    Unreliable networking
  • 6
    Documentation not always in sync
  • 4
    Moves quickly
  • 3
    Not Secure

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Conan?

Install or build your own packages for any platform. Conan also allows you to run your own server easily from the command line.

What is Docker?

The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere

Need advice about which tool to choose?Ask the StackShare community!

What companies use Conan?
What companies use Docker?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Conan?
What tools integrate with Docker?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

PythonDockerKubernetes+7
3
1153
PythonDockerKubernetes+14
12
2651
Jul 9 2019 at 7:22PM

Blue Medora

DockerPostgreSQLNew Relic+8
11
2373
DockerAmazon EC2Scala+8
6
2754
GitHubDockerReact+17
41
37252
What are some alternatives to Conan and Docker?
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
npm
npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
TypeScript
TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
See all alternatives