Docker says it created my container but it doesn't show up in my container listHow do I deploy a docker...

Geography in 3D perspective

What does Deadpool mean by "left the house in that shirt"?

Violin - Can double stops be played when the strings are not next to each other?

How can an organ that provides biological immortality be unable to regenerate?

How does 取材で訪れた integrate into this sentence?

I got the following comment from a reputed math journal. What does it mean?

Deletion of copy-ctor & copy-assignment - public, private or protected?

Optimising a list searching algorithm

How do hiring committees for research positions view getting "scooped"?

Can a medieval gyroplane be built?

In what cases must I use 了 and in what cases not?

If "dar" means "to give", what does "daros" mean?

Would it be believable to defy demographics in a story?

Describing a chess game in a novel

Help prove this basic trig identity please!

Right piano pedal is bright

Recruiter wants very extensive technical details about all of my previous work

Fewest number of steps to reach 200 using special calculator

Have the tides ever turned twice on any open problem?

Generic TVP tradeoffs?

Why didn't Héctor fade away after this character died in the movie Coco?

How to get the n-th line after a grepped one?

How are passwords stolen from companies if they only store hashes?

Unfrosted light bulb



Docker says it created my container but it doesn't show up in my container list


How do I deploy a docker container and associated data container, including contents?CoreOS-vagrant: How to mount /var/lib/docker from hostDocker command error (repository name component must match “[a-z0-9]+(?:[._-][a-z0-9]+)*”)Can't access docker bind port from public IPConfusion with Jenkins Docker Plugin and Jenkins Docker SlavesDocker nginx: Redirects to port 80 instead of mapped portUsing Docker Swarm to build an reverse proxy networkhow to set the image volume in gitlab-runner with docker executorSave Docker containers as single imageHow to forward a command from Jenkins pipeline to Docker container in PCF?













0















Here is my docker-compose.yml file:



version: '3'
services:
apache:
build: .docker/apache
container_name: sf4_apache
ports:
- 80:80
volumes:
- .docker/config/vhosts:/etc/apache2/sites-enabled
- .:/home/wwwroot/sf4
depends_on:
- php

mysql:
image: mysql
container_name: sf4_mysql
volumes:
- .docker/data/db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: sf4
MYSQL_USER: sf4
MYSQL_PASSWORD: sf4

php:
build: .docker/php
container_name: sf4_php
volumes:
- .:/home/wwwroot/sf4
environment:
- maildev_host=sf4_maildev
depends_on:
- maildev
- mysql

phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: sf4_phpmyadmin
ports:
- 8080:80
links:
- mysql

maildev:
image: djfarrelly/maildev
container_name: sf4_maildev
ports:
- 8001:80


Here is what my build command looks like, specifically, notice that the sf4_mysql container gets built:



sudo docker-compose up -d
Creating network "dcprisonsystemcom_default" with the default driver
Creating sf4_maildev ...
Creating sf4_mysql ...
Creating sf4_maildev
Creating sf4_mysql ... done // so here we can see that it has created the sf4_mysql container
Creating sf4_phpmyadmin ...
Creating sf4_maildev ... done
Creating sf4_php ...
Creating sf4_php ... done
Creating sf4_apache ...
Creating sf4_apache ... done


Here are the results of my docker container ls command. I took out some columns just to make it more readable:



sudo docker container ls
CONTAINER ID IMAGE PORTS NAMES
2abe4a7b1932 dcprisonsystemcom_apache 0.0.0.0:80->80/tcp, 443/tcp sf4_apache
80cfd1c4b342 dcprisonsystemcom_php 9000/tcp sf4_php
b59185fdbaa0 phpmyadmin/phpmyadmin 9000/tcp, 0.0.0.0:8080->80/tcp sf4_phpmyadmin
6482de0c7dc9 djfarrelly/maildev 25/tcp, 0.0.0.0:8001->80/tcp sf4_maildev


It said it created my sf4_mysql container yet the sf4_mysql container does not show up in my container list after I execute docker container ls command.



Would anyone know why?









share







New contributor




Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Here is my docker-compose.yml file:



    version: '3'
    services:
    apache:
    build: .docker/apache
    container_name: sf4_apache
    ports:
    - 80:80
    volumes:
    - .docker/config/vhosts:/etc/apache2/sites-enabled
    - .:/home/wwwroot/sf4
    depends_on:
    - php

    mysql:
    image: mysql
    container_name: sf4_mysql
    volumes:
    - .docker/data/db:/var/lib/mysql
    environment:
    MYSQL_ROOT_PASSWORD: root
    MYSQL_DATABASE: sf4
    MYSQL_USER: sf4
    MYSQL_PASSWORD: sf4

    php:
    build: .docker/php
    container_name: sf4_php
    volumes:
    - .:/home/wwwroot/sf4
    environment:
    - maildev_host=sf4_maildev
    depends_on:
    - maildev
    - mysql

    phpmyadmin:
    image: phpmyadmin/phpmyadmin
    container_name: sf4_phpmyadmin
    ports:
    - 8080:80
    links:
    - mysql

    maildev:
    image: djfarrelly/maildev
    container_name: sf4_maildev
    ports:
    - 8001:80


    Here is what my build command looks like, specifically, notice that the sf4_mysql container gets built:



    sudo docker-compose up -d
    Creating network "dcprisonsystemcom_default" with the default driver
    Creating sf4_maildev ...
    Creating sf4_mysql ...
    Creating sf4_maildev
    Creating sf4_mysql ... done // so here we can see that it has created the sf4_mysql container
    Creating sf4_phpmyadmin ...
    Creating sf4_maildev ... done
    Creating sf4_php ...
    Creating sf4_php ... done
    Creating sf4_apache ...
    Creating sf4_apache ... done


    Here are the results of my docker container ls command. I took out some columns just to make it more readable:



    sudo docker container ls
    CONTAINER ID IMAGE PORTS NAMES
    2abe4a7b1932 dcprisonsystemcom_apache 0.0.0.0:80->80/tcp, 443/tcp sf4_apache
    80cfd1c4b342 dcprisonsystemcom_php 9000/tcp sf4_php
    b59185fdbaa0 phpmyadmin/phpmyadmin 9000/tcp, 0.0.0.0:8080->80/tcp sf4_phpmyadmin
    6482de0c7dc9 djfarrelly/maildev 25/tcp, 0.0.0.0:8001->80/tcp sf4_maildev


    It said it created my sf4_mysql container yet the sf4_mysql container does not show up in my container list after I execute docker container ls command.



    Would anyone know why?









    share







    New contributor




    Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Here is my docker-compose.yml file:



      version: '3'
      services:
      apache:
      build: .docker/apache
      container_name: sf4_apache
      ports:
      - 80:80
      volumes:
      - .docker/config/vhosts:/etc/apache2/sites-enabled
      - .:/home/wwwroot/sf4
      depends_on:
      - php

      mysql:
      image: mysql
      container_name: sf4_mysql
      volumes:
      - .docker/data/db:/var/lib/mysql
      environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: sf4
      MYSQL_USER: sf4
      MYSQL_PASSWORD: sf4

      php:
      build: .docker/php
      container_name: sf4_php
      volumes:
      - .:/home/wwwroot/sf4
      environment:
      - maildev_host=sf4_maildev
      depends_on:
      - maildev
      - mysql

      phpmyadmin:
      image: phpmyadmin/phpmyadmin
      container_name: sf4_phpmyadmin
      ports:
      - 8080:80
      links:
      - mysql

      maildev:
      image: djfarrelly/maildev
      container_name: sf4_maildev
      ports:
      - 8001:80


      Here is what my build command looks like, specifically, notice that the sf4_mysql container gets built:



      sudo docker-compose up -d
      Creating network "dcprisonsystemcom_default" with the default driver
      Creating sf4_maildev ...
      Creating sf4_mysql ...
      Creating sf4_maildev
      Creating sf4_mysql ... done // so here we can see that it has created the sf4_mysql container
      Creating sf4_phpmyadmin ...
      Creating sf4_maildev ... done
      Creating sf4_php ...
      Creating sf4_php ... done
      Creating sf4_apache ...
      Creating sf4_apache ... done


      Here are the results of my docker container ls command. I took out some columns just to make it more readable:



      sudo docker container ls
      CONTAINER ID IMAGE PORTS NAMES
      2abe4a7b1932 dcprisonsystemcom_apache 0.0.0.0:80->80/tcp, 443/tcp sf4_apache
      80cfd1c4b342 dcprisonsystemcom_php 9000/tcp sf4_php
      b59185fdbaa0 phpmyadmin/phpmyadmin 9000/tcp, 0.0.0.0:8080->80/tcp sf4_phpmyadmin
      6482de0c7dc9 djfarrelly/maildev 25/tcp, 0.0.0.0:8001->80/tcp sf4_maildev


      It said it created my sf4_mysql container yet the sf4_mysql container does not show up in my container list after I execute docker container ls command.



      Would anyone know why?









      share







      New contributor




      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Here is my docker-compose.yml file:



      version: '3'
      services:
      apache:
      build: .docker/apache
      container_name: sf4_apache
      ports:
      - 80:80
      volumes:
      - .docker/config/vhosts:/etc/apache2/sites-enabled
      - .:/home/wwwroot/sf4
      depends_on:
      - php

      mysql:
      image: mysql
      container_name: sf4_mysql
      volumes:
      - .docker/data/db:/var/lib/mysql
      environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: sf4
      MYSQL_USER: sf4
      MYSQL_PASSWORD: sf4

      php:
      build: .docker/php
      container_name: sf4_php
      volumes:
      - .:/home/wwwroot/sf4
      environment:
      - maildev_host=sf4_maildev
      depends_on:
      - maildev
      - mysql

      phpmyadmin:
      image: phpmyadmin/phpmyadmin
      container_name: sf4_phpmyadmin
      ports:
      - 8080:80
      links:
      - mysql

      maildev:
      image: djfarrelly/maildev
      container_name: sf4_maildev
      ports:
      - 8001:80


      Here is what my build command looks like, specifically, notice that the sf4_mysql container gets built:



      sudo docker-compose up -d
      Creating network "dcprisonsystemcom_default" with the default driver
      Creating sf4_maildev ...
      Creating sf4_mysql ...
      Creating sf4_maildev
      Creating sf4_mysql ... done // so here we can see that it has created the sf4_mysql container
      Creating sf4_phpmyadmin ...
      Creating sf4_maildev ... done
      Creating sf4_php ...
      Creating sf4_php ... done
      Creating sf4_apache ...
      Creating sf4_apache ... done


      Here are the results of my docker container ls command. I took out some columns just to make it more readable:



      sudo docker container ls
      CONTAINER ID IMAGE PORTS NAMES
      2abe4a7b1932 dcprisonsystemcom_apache 0.0.0.0:80->80/tcp, 443/tcp sf4_apache
      80cfd1c4b342 dcprisonsystemcom_php 9000/tcp sf4_php
      b59185fdbaa0 phpmyadmin/phpmyadmin 9000/tcp, 0.0.0.0:8080->80/tcp sf4_phpmyadmin
      6482de0c7dc9 djfarrelly/maildev 25/tcp, 0.0.0.0:8001->80/tcp sf4_maildev


      It said it created my sf4_mysql container yet the sf4_mysql container does not show up in my container list after I execute docker container ls command.



      Would anyone know why?







      mysql docker





      share







      New contributor




      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 8 mins ago









      Brent HeigoldBrent Heigold

      1012




      1012




      New contributor




      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Brent Heigold is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Brent Heigold is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958738%2fdocker-says-it-created-my-container-but-it-doesnt-show-up-in-my-container-list%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Brent Heigold is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Brent Heigold is a new contributor. Be nice, and check out our Code of Conduct.













          Brent Heigold is a new contributor. Be nice, and check out our Code of Conduct.












          Brent Heigold is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958738%2fdocker-says-it-created-my-container-but-it-doesnt-show-up-in-my-container-list%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...