|
| 1 | +Terminal1: |
| 2 | +``` |
| 3 | +docker-compose up --build |
| 4 | +``` |
| 5 | + |
| 6 | +``` |
| 7 | +ARNING: Found orphan containers (a55a8ae7a762_docker_my_cuda_service_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. |
| 8 | +Building my-service |
| 9 | +[+] Building 1.6s (10/10) FINISHED docker:default |
| 10 | + => [internal] load build definition from Dockerfile 0.2s |
| 11 | + => => transferring dockerfile: 348B 0.0s |
| 12 | + => [internal] load metadata for docker.io/nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04 0.0s |
| 13 | + => [internal] load .dockerignore 0.2s |
| 14 | + => => transferring context: 2B 0.0s |
| 15 | + => [1/5] FROM docker.io/nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04 0.0s |
| 16 | + => [internal] load build context 0.2s |
| 17 | + => => transferring context: 34B 0.0s |
| 18 | + => CACHED [2/5] WORKDIR /app 0.0s |
| 19 | + => CACHED [3/5] COPY sources.list /etc/apt/sources.list 0.0s |
| 20 | + => CACHED [4/5] RUN apt update 0.0s |
| 21 | + => CACHED [5/5] WORKDIR /app/sim/ 0.0s |
| 22 | + => exporting to image 0.2s |
| 23 | + => => exporting layers 0.0s |
| 24 | + => => writing image sha256:8e9c02e6c8b50dcbf7d6d1962d51de926126f132b65b65952ad8dfc74634f8c6 0.0s |
| 25 | + => => naming to docker.io/library/docker_my-service 0.1s |
| 26 | +WARNING: Image for service my-service was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`. |
| 27 | +Creating docker_my-service_1 ... done |
| 28 | +Attaching to docker_my-service_1 |
| 29 | +my-service_1 | |
| 30 | +my-service_1 | ========== |
| 31 | +my-service_1 | == CUDA == |
| 32 | +my-service_1 | ========== |
| 33 | +my-service_1 | |
| 34 | +my-service_1 | CUDA Version 12.1.0 |
| 35 | +my-service_1 | |
| 36 | +my-service_1 | Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 37 | +my-service_1 | |
| 38 | +my-service_1 | This container image and its contents are governed by the NVIDIA Deep Learning Container License. |
| 39 | +my-service_1 | By pulling and using the container, you accept the terms and conditions of this license: |
| 40 | +my-service_1 | https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license |
| 41 | +my-service_1 | |
| 42 | +my-service_1 | A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience. |
| 43 | +my-service_1 | |
| 44 | +my-service_1 | ************************* |
| 45 | +my-service_1 | ** DEPRECATION NOTICE! ** |
| 46 | +my-service_1 | ************************* |
| 47 | +my-service_1 | THIS IMAGE IS DEPRECATED and is scheduled for DELETION. |
| 48 | +my-service_1 | https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/support-policy.md |
| 49 | +my-service_1 | |
| 50 | +``` |
| 51 | + |
| 52 | +Terminal2: |
| 53 | + |
| 54 | +``` |
| 55 | +docker exec -it docker_zeroth-sim_1 /bin/bash |
| 56 | +``` |
| 57 | + |
| 58 | +``` |
| 59 | +gymuser@06aac36e0751:/app/sim# python3 sim/train.py --task=stompymicro --num_envs=4 |
| 60 | +``` |
0 commit comments